Ask questions about your install or get help installing and configuring ProcessMaker 2
#782428
Hello everyone,
I am quite new to processmaker and i have found it quite easy to install and configure but i have bumped into an issue i am unable to address.
I have followed this very easy guide to install and configure ProcessMaker:
Code: Select all
http://wiki.processmaker.com/index.php/2.0/ProcessMaker_Debian_Installation
ProcessMaker works like a charm but tonight i have been trying install a web based ERP named Dolibarr on the same machine and apparently (as per the aforementioned guide) theis ERP works only if i disable the processmaker virtual host in Apache.

The ERP i am trying to use is located in my /var/www/dolibarrerp folder. When i try to reach that folder my Apache server gives me back the error 404 page of processmaker. I have checked the dolibarrerp files permissions and they look good to me. i tried to setup another virtualhost for this ERP but no matter how i set it up either processmaker stops working or i can't reach the ERP default installation page (error 404 page by processmaker).

I admit i am no apache expert but i would still like to have something else running on that machine along with processmaker.

My processmaker Virtualhost is:
Code: Select all
 # Please change the ip address with your server ip address and
  # the ServerName with you own subdomains.
  NameVirtualHost 1.2.3.4
  #processmaker virtual host
  <VirtualHost 1.2.3.4 >
    ServerName "1.2.3.4"
    DocumentRoot /opt/processmaker/workflow/public_html
    DirectoryIndex index.html index.php
    <Directory  "/opt/processmaker/workflow/public_html">
       AddDefaultCharset UTF-8
       AllowOverRide none
       Options FollowSymlinks
       Order allow,deny
       Require all granted
       RewriteEngine on
       RewriteRule ^.*/(.*)$ sysGeneric.php [NC,L]
       ExpiresActive On
       ExpiresDefault "access plus 1 day"
       ExpiresByType image/gif "access plus 1 day"
       ExpiresByType image/png "access plus 1 day"
       ExpiresByType image/jpg "access plus 1 day"
       ExpiresByType text/css "access plus 1 day"
       ExpiresByType text/javascript "access plus 1 day"
       AddOutputFilterByType DEFLATE text/html
    </Directory>
  </VirtualHost>
The ERP Virtual host i am using is this
Code: Select all
<VirtualHost *:80>
 ServerName dolibarr.mondomaine.net
 ServerAdmin webmaster@mondomaine.net
 DocumentRoot /var/www/dolibarr/htdocs
 DirectoryIndex index.php
 ErrorLog  /var/log/apache2/dolibarr-error.log
 CustomLog /var/log/apache2/dolibarr-access.log combined
</VirtualHost>
I fail at understanding how i can make these 2 web applications running on the same server at the same time.

Any suggestion? i am not giving up and i am trying to address this issue by myself but a little help would be really really appreciated.

thanks in advance
#782444
You can run the two programs on different ports. Try this:
Code: Select all
<VirtualHost *:800>
 ServerName dolibarr.mondomaine.net
 ServerAdmin webmaster@mondomaine.net
 DocumentRoot /var/www/dolibarr/htdocs
 DirectoryIndex index.php
 ErrorLog  /var/log/apache2/dolibarr-error.log
 CustomLog /var/log/apache2/dolibarr-access.log combined
</VirtualHost>
Then add the following lines to your /etc/apache2/ports.conf file:
Code: Select all
NameVirtualHost *:800
Listen 800
Then restart apache2 and you should be able to use the other program at http://1.2.3.4:800 on your web browser.

A more elegant solution is to define a subdomain on your DNS for the other program, if you have one, but I can't tell you how to do that since I don't know how your setup.

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]