Redmine VirtualHost config not working with Document Root

Posted by David Kaczynski on Server Fault See other posts from Server Fault or by David Kaczynski
Published on 2012-11-11T16:43:26Z Indexed on 2012/11/11 17:03 UTC
Read the original article Hit count: 280

Filed under:
|
|

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?

© Server Fault or respective owner

Related posts about virtualhost

Related posts about subdomain