that is the location: header issue, should we consider the reverse_map in remap.config?
> # The 'reverse_map' mapping is used to rewrite location headers sent by the > # origin server. The 'redirect' mapping creates a permanent redirect message > # and informs the browser of the URL change. > # map http://www.example.com/ http://server1.example.com/ > # reverse_map http://server1.example.com/ http://www.example.com/ > # 在 2012-11-13二的 08:15 -0700,Leif Hedstrom写道: > On 11/13/12 3:49 AM, Luca Rea wrote: > > Hi, > > I suppose there is a forced redirect from http to https of login page, if > > you have ATS SSL termination you should disable the https redirect of web > > server or apps. > > Fwiw, one little "tip" here. I had a similar problem with my Drupal setup, > and I solved it by injecting a header in ATS, which HTTPD can use (in fact, > Drupal supports it). I have it outlined in http://www.ogre.com/node/430, but > the general idea is: > > 1) Use the header_filter plugin in ATS, to inject a header X-Forwarded-Proto > > map https://ogre.com http://ogre.com:82 @plugin=header_filter.so > @pparam=ssl-header.conf > > > where ssl-header.conf contains > > [SEND_REQUEST_HDR] > X-Forwarded-Proto =https= > > > 2) In addition to Drupal honoring this header, I also make an exception in > my httpd config, which I do to force /user URLs to be HTTPS: > > RewriteEngine On > RewriteCond %{HTTP:X-Forwarded-Proto} !=https > RewriteRule ^/user https://www.ogre.com$0 [R] > > > -- Leif
