ebollens/shib-oauth2-bridge/master/public/.htaccess - Htaccess File

ebollens/shib-oauth2-bridge/master/public/.htaccess

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} !/(Shibboleth.sso) [NC]
    RewriteRule ^ index.php [L]
</IfModule>

SetEnv SHIB_IMPLIED_AFFILIATION_SCOPE "ucla.edu"

<IfModule !mod_shib>
    SetEnv X_ALLOW_TEST_AUTH "true"
    #SetEnv HTTP_SHIB_EPPN "example@localhost"
    #SetEnv HTTP_SHIB_SN "User"
    #SetEnv HTTP_SHIB_GIVEN_NAME "Example"
    #SetEnv HTTP_SHIB_MAIL "example@mail.localhost"
    #SetEnv HTTP_SHIB_EDU_PERSON_AFFILIATION "staff;employee"
    #SetEnv HTTP_SHIB_UID "123456789"
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache