I have these two sites defined in my apache2 server.
Redmine server
#REDMINE SITE (/etc/apache2/sites-available/redmine)
<VirtualHost *:8080>
# this is the passenger config
RailsEnv production
RailsBaseURI /redmine
SetEnv X_DEBIAN_SITEID "default"
Alias "/redmine/plugin_assets/" /var/cache/redmine/default/plugin_asset$
DocumentRoot /usr/share/redmine/public
<Directory "/usr/share/redmine/public">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
And a tomcat server
#TOMCAT (/etc/apache2/sites-available/default)
<VirtualHost *:8080>
JkMount /* worker1
JkUnMount /redmine worker1
</VirtualHost>
My problem is that the redmine site seems to be mapped to the root of the apache server /
instead of /redmine
how can i fix this?
This is the working config i ended up with.
Your site's document root is already mapped to the public folder. Set DocumentRoot to somewhere else then
Alias /redmine /usr/share/redmine/public