alterebro/WeaselCMS/master/.htaccess - Htaccess File

alterebro/WeaselCMS/master/.htaccess

<IfModule mod_rewrite.c>
  SetEnv HTTP_MOD_REWRITE on
  RewriteEngine on
  RewriteRule ^(.*).cms$ index.php?p=$1 [L]

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-l
  RewriteRule ^(.*)$ index.php?e=$1 [L,QSA]
</IfModule>
<IfModule !mod_rewrite.c>
    SetEnv HTTP_MOD_REWRITE off
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache