RewriteRule breaks some parts of Redmine
Added by Louis Delacretaz about 16 years ago
I've installed redmine on a shared host with a mongrel cluster using an addon domain. I used
cpanel to configure a rewrite rule so users dont need to specify port numbers.
Going via the rewrite say http://red.example.com/ most things work but there are consistent bugs. For example although I can add projects to a user in the user section but I cannot add a member to a project from the project area, nor can I save a Wiki start page name.
I get the "Loading.." spinning forever, until I close the browser and log back in to redmine.
Selecting the second tracker ie "Feature" also puts up "loading ..." forever.
If I go direct http://example.com:12034/ everything works perfectly.
The .htaccess file contains
RewriteEngine on
RewriteCond ^red.example.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.red.example.com$
RewriteRule ^(.*)$ "http\:\/\/127\.0\.0\.1\:12034{REQUEST_URI}" [P,QSA,L]
My redmine environment is redmine 0.7.3.1917 (MySQL)
MySql 4.1.22
rails 2.0.2
ruby 1.8.5
Apache 1.3.41
on a linux box.
Can anybody help with the rewrite rule?