0

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

http://www.redmine.org/projects/redmine/wiki/HowTo_install_Redmine_on_CentOS_5

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 </Location> 

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

0

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

0

RailsBaseURI is wrong, It should be this

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

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 </Directory> <Location /redmine/sys> Order deny,allow Allow from 127.0.0.1 Deny from all </Location> 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.