Redmine on Redhat/CentOS 5 Without using virtual hosts
Posted
by
flyclassic
on Server Fault
See other posts from Server Fault
or by flyclassic
Published on 2012-03-16T02:54:05Z
Indexed on
2012/10/09
3:39 UTC
Read the original article
Hit count: 518
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?
© Server Fault or respective owner