sjoorm/leprechaun/master/.htaccess - Htaccess File

sjoorm/leprechaun/master/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteRule ^static - [L]

    # add trailing slash
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^.*[^/]$ /$0/ [R=301,L]

    RewriteCond %{REQUEST_URI} ^/
    RewriteRule ^(.*)$ index.php [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI, static

Comments

Apache