Changes between Version 41 and Version 42 of InstallationGuidelinesApacheModWSGI


Ignore:
Timestamp:
01/08/11 14:03:46 (11 years ago)
Author:
Praneeth Bodduluri
Comment:

Added snippet for SSL redirect only on login

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelinesApacheModWSGI

    v41 v42  
    145145  </LocationMatch>
    146146}}}
     147== Redirect to SSL only for the login page ==
     148Add the following to the non SSL apache config [example.com is assumed to be your domain].
     149{{{
     150  RewriteEngine On
     151  RewriteRule ^/eden/default/user/(.*)$ https://example.com/eden/default/user/$1 [R]                         
     152}}}
     153
     154Add the following to the SSL apache config
     155{{{
     156  RewriteEngine On
     157  RewriteRule ^(.*)/user/(.*)$ - [L]                         
     158  RewriteRule ^/eden/(.*)$ http://example.com/eden/$1 [R] [L]     
     159}}}
    147160
    148161== Maintenance Site ==