Changes between Version 46 and Version 47 of InstallationGuidelinesApacheModWSGI


Ignore:
Timestamp:
09/23/11 13:28:40 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelinesApacheModWSGI

    v46 v47  
    145145  </LocationMatch>
    146146}}}
     147== Static home page ==
     148ConfigurationGuidelines#StaticHomePage
     149
     150{{{
     151  RewriteEngine On
     152  # extract desired cookie value from multiple-cookie HTTP header
     153  RewriteCond %{HTTP_COOKIE} registered=([^;]+)
     154  # check that cookie value is correct
     155  RewriteCond %1 ^yes$
     156  RewriteRule ^/$ /eden/ [R,L]
     157  RewriteRule ^/$ /eden/static/index.html [R,L]
     158  RewriteCond %{REQUEST_URI}    !/phpmyadmin(.*)
     159  RewriteCond %{REQUEST_URI}    !/eden/(.*)
     160  RewriteRule /(.*) /eden/$1 [R]
     161}}}
     162
    147163== Redirect to SSL only for the login page ==
    148164Add the following to the non SSL apache config [example.com is assumed to be your domain].