I've have followed all the steps to install Redmine on CentOS 5, except for the Apache part:


I do not want to configure a virtualhost as we are not using virtual hosts.

Can I configure Redmine to run with http://hostname/redmine?

Apparently it doesn't work for my case.

Redmine was extracted in to the webserver document root /var/www/html/ called /var/www/html/redmine

What I did was added a redmine.conf to /etc/httpd/conf.d/ with the following configuration and restarted the server:

<Location "/redmine">
    Options Indexes ExecCGI FollowSymLinks -MultiViews
    Order allow,deny
    Allow from all
    AllowOverride all

    PassengerEnabled On
    RailsBaseURI /var/www/html/redmine
    RailsEnv production

now i got this error

Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.

Error message: No such file or directory - config/environment.rb Exception class: Errno::ENOENT Application root: /var/www/html

Where have I gone wrong?

3 Answers 3


To suppress directory listings remove the Indexes option from your Options list.


RailsBaseURI is wrong, It should be this

RailsBaseURI /var/www/html/redmine/public
  • Ammended it, restart httpd, but i'm still getting the folder list ...
    – flyclassic
    Mar 21, 2012 at 3:33

Here is mine. I use a symlink for redmine at /var/www/html/redmine .

PassengerResolveSymlinksInDocumentRoot on
RailsBaseURI /redmine
<Directory /var/www/html/redmine>
    Allow from all
    Options -MultiViews
    PassengerUser redmine
    PassengerGroup redmine

<Location /redmine/sys>
    Order deny,allow
    Allow from
    Deny from all

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.