Project

General

Profile

Issue with change of DocumentRoot

Added by Shayne Bartlett over 13 years ago

I have successfully install redmine on Ubuntu 10.04 using apt-get/passenger install. Under the url http://projects.site.com/redmine it's working wonderfully.

But My intention is that it should be the default for http://projects.site.com, not in a sub directory. I altered the default site set up as shown...

<VirtualHost *:80>
ServerAdmin
ServerName projects.site.net
DocumentRoot /var/www/redmine
</VirtualHost>

According to the documentation at Phusion Passenger this should work however when I do this and navigate to the site I just get a directory listing. To make this even more strange a Redmine installation I have that uses Passenger but was set up manually works just fine with a configuration similar to above.

Anyone got any ideas on what I'm doing wrong?

Thanks in advance
Shayne