Topic: Rails using wrong protocol when building URLS
I'm thoroughly confused on why rails is generating bad paths. I'm using apache as a proxy to mongrel. I've set a request header variable in the SSL virtual host on apache like so.
RequestHeader set X_FORWARDED_PROTO "https"
When I print out the header everything seems set properly. Even request.ssl? returns true. Yet form tags use 'http' instead of 'https' and redirects do the same. My routes are setup as the default. Anybody have any ideas?