Defect #2270
closedRedirect problem with redmine and apache mod_proxy
0%
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
<Directory /var/www/intra/htdocs/redmine>
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
</Directory>
</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
Updated by thomas r over 16 years ago
- Status changed from New to Resolved
Problem solved i added RequestHeader set X_FORWARDED_PROTO 'https' in the ssl vhost of apache and it works !
Dont realy know if it's because of rails or apache or redmine ...
Updated by Jean-Philippe Lang over 16 years ago
- Status changed from Resolved to Closed
- Affected version (unused) deleted (
0.7.3) - Resolution set to Invalid
- Affected version deleted (
0.7.3)
It's a rails thing.