Project

General

Profile

Configuration question: Login changing from HTTPS <=> HTTP

Added by Rob Greene over 14 years ago

I'm trying to make my installation of Redmine available for a couple of group projects. Trouble is that my internet provider blocks port 80, however port 443 is not. That's fine, I've got everything setup with https and am proxying between my apache server and the mongrel server. When I navigate to the Redmine URL, it redirects to the login page as expected, except it redirects to HTTP not HTTPS, so it gets blocked. I suspect it's because of my configuration and not something specific to Redmine itself, but I'm not sure how to handle it.

Redmine config:

[rob@www redmine-0.8.7]$ RAILS_ENV=production script/about
About your application's environment
Ruby version              1.8.5 (x86_64-linux)
RubyGems version          1.3.5
Rails version             2.1.2
Active Record version     2.1.2
Action Pack version       2.1.2
Active Resource version   2.1.2
Action Mailer version     2.1.2
Active Support version    2.1.2
Edge Rails revision       unknown
Application root          /data/redmine-0.8.7
Environment               production
Database adapter          mysql
Database schema version   101

About your Redmine plugins
Mylyn Connector plugin   2.6.1.stable

Apache proxy config:

[rob@www redmine-0.8.7]$ cat /etc/httpd/conf.d/proxy_rails.conf 
ProxyPass /redmine http://127.0.0.1:8000/redmine
ProxyPassReverse /redmine http://127.0.0.1:8000/redmine

Any suggestions?

Thanks!
-Rob


Replies (1)

RE: Configuration question: Login changing from HTTPS <=> HTTP - Added by Rob Greene over 14 years ago

I found that this is an Apache configuration problem. There is a note about it in the Mongrel Apache FAQ -- look for the "SSL Requirements" entry.

    (1-1/1)