csev/tsugi/master/lti/.htaccess - Htaccess File

csev/tsugi/master/lti/.htaccess

# http://stackoverflow.com/questions/16388959/url-rewriting-with-php
# http://httpd.apache.org/docs/2.2/mod/mod_dir.html#fallbackresource
# https://www.drupal.org/node/2669174

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^ - [E=protossl]
    RewriteCond %{HTTPS} on
    RewriteRule ^ - [E=protossl:s]
    RewriteRule "(^|/)." - [F]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !=/favicon.ico
    RewriteRule ^ index.php [L]
</IfModule>

<IfModule !mod_rewrite.c>
    FallbackResource index.php
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTPS, protossl, REQUEST_FILENAME, REQUEST_URI

Comments

Apache