h4xr/Sevasetu/master/public/.htaccess - Htaccess File

h4xr/Sevasetu/master/public/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !.(xml|txt|css|js|png|jpeg|jpg|eot|svg|ttf|woff|woff2|mkv|srt|zip|apk)$

    RewriteRule ^(.*)$ index.php?url=$1 [QSA,PT,L]
</IfModule>
<ifmodule mod_rewrite.c>
 RewriteCond %{THE_REQUEST} favicon.ico [NC]
 RewriteRule (.*) http://domain.tld/favicon.ico [R=301,L] 
</ifmodule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI, THE_REQUEST

Comments

Apache