Redmine subfolder twice in URI (mod_proxy)
Added by akI One over 7 years ago
(Redmine 3.4.6.stable, Ruby 2.3.3-p222, Rails version 4.2.8, Debian 9)
Hello,
I have a Redmine running in a subfolder (myserver/redmine)
When I use the login or logout the systems forwards me to myserver/redmine/redmine
I am using a apache2 as a proxy
...
<Location /redmine>
ProxyPass http://${ip_redmine}/redmine
ProxyPassReverse http://${ip_redmine}/redmine
</Location>
...
And on the redmine system the apache conf file looks like
<VirtualHost *:80>
ServerName redminesystemuri
ServerAlias redmine
ErrorLog ${APACHE_LOG_DIR}/${hostname}-error.log
DocumentRoot /var/www/html/
<Location /redmine>
RailsEnv production
RackBaseURI /redmine
Options -MultiViews
</Location>
</VirtualHost>
While inside /var/www/html a symlink exists (redmine -> /opt/redmine-3.4.6/public/)
Maybe somebody has an advice?
Thank you!
akI