I am working on setting up a pair of redmine instances on the same server under apache.
The first one worked perfectly, and I have a virtual host configured for it with the following vhost configuration:
<VirtualHost *:80> ServerName tickets.domain.com DocumentRoot /var/www/redmine RailsEnv production RailsBaseURI / PassengerResolveSymlinksInDocumentRoot on </VirtualHost>
The second thing I needed to set as a subdirectory from the default main site:
Alias /ops/ "/var/www/ops/" <Directory "/var/www/ops/"> RailsEnv ops RailsBaseURI /ops PassengerResolveSymlinksInDocumentRoot on </Directory>
So server / ops is the URL for the second instance.
The problem I am facing is that when I restart apache, no matter what URL you choose, it first seems to βwinβ and it interrupts another instance of the site. If I click on / ops -url, then it will load just fine, but it will work with tickets. will cause me to get permission to reject errors because all urls have / ops in them (for JS and other files)
If I restart apache and hit the tickets. It loads at first, but I get 404 errors from Redmine on ur / ops.
This is on Ubuntu with redmine PPA, and / var / www / ops and / var / www / redmine are symbolic links to the common redmine source code with their own environments (production and ops).
Any tips on how I can make these two living side by side successful?
thanks
source share