farizhermawan/idem/master/layer/mahasiswa/.htaccess - Htaccess File

farizhermawan/idem/master/layer/mahasiswa/.htaccess

Options -Indexes
DirectoryIndex index.php index.html index.htm

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/index.php

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)/(.*)/ index.php?control=$1&action=$2&parameter=$3 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)/ index.php?control=$1&action=$2 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/ index.php?control=$1 [L,QSA]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache