Problems with Installing redmine
Added by Stefan Sturm over 15 years ago
Hello,
I installed redmine using the install tutorial here. Then I googled alot to setup redmine on my server.
So here is my setup.
I have this virtual host:
<VirtualHost redmine.domain.de>
ServerName redmine.domain.de
CustomLog /home/web/var/log/redmine_access.log common
ErrorLog /home/web/var/log/redmine_error.log
ProxyPass / http://127.0.0.1:2555/
ProxyPassReverse / http://127.0.0.1:2555/
<Proxy http://127.0.0.1:2555/*>
Order deny,allow
Allow from all
</Proxy>
</VirtualHost>
And I started redmine using this command:
mongrel_rails start -d -e production -p 2555
But all I get, when I open redmine.domain.de is a 500 Internal Server Error :-(
Perhaps somebody here can give me a hint :-)
Thanks and greetings,
Urkman
Replies (2)
RE: Problems with Installing redmine - Added by Stefan Sturm over 15 years ago
Sorry, for the bad Code Formatting, but I don't get to format it right :-(
Urkman
RE: Problems with Installing redmine - Added by Gytis Gurklys over 15 years ago
Trys this. I usually do it as a separate file in /etc/httpd/conf.d/. (using CentOS).
You should also add NameVirtualHost directive in httpd.conf, since it uses NamedVirtualHost, this line:
NameVirtualHost IP_address_here:80
<proxy balancer://mongrel_cluster>
BalancerMember http://127.0.0.1:2555
BalancerMember http://127.0.0.1:2556
#BalancerMember http://127.0.0.1:2557
</proxy>
<VirtualHost ip address here :80>
ServerName redmine.domain.de
DocumentRoot "/redmine/app/root"
<Directory "/redmine/app/root">
allow from all
Options +Indexes
AllowOverride All
</Directory>
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]
RewriteRule /$ /index.html [QSA]
#Rewrite to check for Rails cached page
RewriteRule ^([.]+)$ $1.html [QSA]
RewriteCond /{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]
</virtualHost>