Htaccess File

TimHuangcheng/CI/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
RewriteEngine on

RewriteCond %{REQUEST_FILENAME}       !-d
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{HTTP_HOST} admin.etekcitizentest.local [NC]
RewriteRule ^(.*)$ admin.php/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
Exit mobile version