Skip to content
.htaccess 484 B
Newer Older
Sonia Zorba's avatar
Sonia Zorba committed
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]

# mod_rewrite changes some Shibboleth headers
# this restores them:
SetEnvIf REDIRECT_Shib-Session-ID (.+) Shib-Session-ID=$1
SetEnvIf REDIRECT_eppn (.+) eppn=$1
SetEnvIf REDIRECT_mail (.+) mail=$1
SetEnvIf REDIRECT_givenName (.+) givenName=$1
SetEnvIf REDIRECT_sn (.+) sn=$1

Sonia Zorba's avatar
Sonia Zorba committed
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=Lax