Project

General

Profile

Redirection

Added by Jorge Raimundo over 14 years ago

Hi all!

I'm trying to set up redmine on our server. At this moment I still can't use vhosts, therefore it has to be on a domain.com/redmine type of address.

The box is running OpenSuse 11.1.

I've checked out the revision 2924 from Subversion.

The environment is the following:

About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.5
Rack version              1.0
Rails version             2.3.4
Active Record version     2.3.4
Active Resource version   2.3.4
Action Mailer version     2.3.4
Active Support version    2.3.4
Application root          /srv/www/htdocs/redmine
Environment               production
Database adapter          mysql
Database schema version   20091010093521

Mysql is 5.0.16.

On Apache I have the redmine.conf file:

Alias /redmine /srv/www/htdocs/redmine/public

<Directory /srv/www/htdocs/redmine/public>
        Options Indexes ExecCGI FollowSymLinks
        Order allow,deny
        Allow from all
        AllowOverride all
</Directory>

On the config/environment.rb I have a the end of the file the following:

Redmine::Utils::relative_url_root = "/redmine" 

I've set up everything according to what was told on the howto's and running redmine on Webrick works fine, but when I try to make it work on apache I get the following:

[Tue Oct 13 16:43:49 2009] [error] [client 193.126.156.30] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Oct 13 16:43:49 2009] [debug] core.c(3046): [client MY.IP.ADD.RES] r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/public/dispatch.fcgi
[Tue Oct 13 16:43:49 2009] [debug] core.c(3052): [client MY.IP.ADD.RES] redirected from r->uri = /redmine/

Do you have any ideia of what may be wrong?

Best regards,
Jorge