sphynxypoo/slag-of-the-internet/master/src/.htaccess - Htaccess File

sphynxypoo/slag-of-the-internet/master/src/.htaccess

<IfModule mod_rewrite.c>

  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule (.*) $1.php [L]
  
  RewriteCond %{THE_REQUEST} ^.*/index.php 
  RewriteRule ^(.*)index.php$ /$1 [R=301,L] 

</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, THE_REQUEST

Comments

Apache