Redmine VirtualHost config not working with Document Root
- by David Kaczynski
I am trying to have requests for https://redmine.example.com access my redmine instance, but I am just getting an "Index of /" page with the contents of /var/www/redmine (which is a symbolic link to /usr/share/redmine/public).
My VirtualHost config:
<VirtualHost *:443>
ServerName redmine.example.com
DocumentRoot /var/www/redmine
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
My /etc/apache2/sites-enables/redmine:
RailsBaseURI /redmine
How do I get the requests for https://redmine.example.com to correctly launch my redmine instance?