Project

General

Profile

Actions

Defect #2270

closed

Redirect problem with redmine and apache mod_proxy

Added by thomas r over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-12-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi,

I have a problem with redmine when using mod_proxy in front of it:

mod_proxy -> apache with redmine

in front i have https://mywebsite.net/redmine/ in back office http://redmine.intra.mywebsite.net/redmine/

My backoffice is running fine but on my front when i type https://mywebsite.net/redmine/ i'm redirected to http://mywebsite.net/redmine/login
and when i type https://mywebsite.net/redmine/login and try to login i'm redirected to http://mywebsite.net/redmine/

then finaly if i go on https://mywebsite.net/redmine/ i'm authenticated and all is fine.

did someone encountred the same problem ?

thanks

my configuration is:
<VirtualHost myvhost:80>
ServerName redmine.intra.website.net

DocumentRoot    /var/www/intra/htdocs/
ErrorLog        logs/redmine.error.log
CustomLog logs/redmine.log combined
RailsBaseURI /redmine
&lt;Directory /var/www/intra/htdocs/redmine&gt;
AllowOverride None
Options -Indexes -MultiViews
Order deny,allow
Allow from All
#Deny From All
Allow from 127.0.0.1 192.168.0.0/24
&lt;/Directory&gt;

</VirtualHost>

and for my mod_proxy:

ProxyRequests Off

ProxyPass /redmine http://redmine.intra.website.net/redmine
ProxyPassReverse /redmine http://redmine.intra.website.net/redmine

any ideas ?

thanks

Actions

Also available in: Atom PDF