NeoRazorX/kelinux-php/master/.htaccess - Htaccess File

NeoRazorX/kelinux-php/master/.htaccess

<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteRule ^favicon.ico$  -  [L]
   RewriteRule ^view/  -  [L]
   RewriteRule ^sitemap.xml$ index.php?page=sitemap [L]
   RewriteRule ^(.*)/(.*)/(.*)/(.*)/$ index.php?page=$1&param1=$2&param2=$3&param3=$4 [L]
   RewriteRule ^(.*)/(.*)/(.*)/([^/.]+)$ index.php?page=$1&param1=$2&param2=$3&param3=$4 [L]
   RewriteRule ^(.*)/(.*)/(.*)/$ index.php?page=$1&param1=$2&param2=$3 [L]
   RewriteRule ^(.*)/(.*)/([^/.]+)$ index.php?page=$1&param1=$2&param2=$3 [L]
   RewriteRule ^(.*)/(.*)/$ index.php?page=$1&param1=$2 [L]
   RewriteRule ^(.*)/([^/.]+)$ index.php?page=$1&param1=$2 [L]
   RewriteRule ^(.*)/$ index.php?page=$1 [L]
   RewriteRule ^([^/.]+)$ index.php?page=$1 [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file

Comments

Apache