Project

General

Profile

Redmine install works on port 3000, but gives directory listing with apache passenger

Added by Eileen Reilly about 11 years ago

I'm posting this here to hopefully help someone else from spending too much time on this. I searched for a fix for this problem, but none of the replies fit my situation. Eventually I figured out why when running under passenger I got a directory listing instead of redmine itself.

I followed the (very good!) installation instructions here: http://www.redmine.org/projects/redmine/wiki/InstallRedmineOnDebianStableApacheMysqlPassenger

Everything worked ok until I got to looking at redmine working under apache. Although I was able to see it on port 3000 using `ruby script/rails server webrick -e production`, I got a directory listing when viewing it under passenger. In the course of debugging, I made a sym link from /etc/apache2/sites-available/redmine to /etc/apache2/sites-enabled After a restart, it then worked. The instructions are missing the step to create the link in sites-enabled from sites-available. Without the link, you just get the directory listing.

Hopefully this will help someone else.

Eileen