samthomson/mediadump/master/public/.htaccess - Htaccess File

samthomson/mediadump/master/public/.htaccess

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

    RewriteEngine On

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

    # Handle Front Controller...
    ###OLD###RewriteCond %{REQUEST_FILENAME} !-d
    ###OLD###RewriteCond %{REQUEST_FILENAME} !-f
    ###OLD###RewriteRule ^ index.php [L]

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache