Htaccess File

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

REQUEST_FILENAME, REQUEST_URI
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]
Exit mobile version