Htaccess File

mkdesignn/MvcLogic/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
RewriteEngine On
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-l
#RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

#RewriteCond %{HTTP_HOST} ^localhost$ [NC]
#RewriteRule ^(.*)$ http://localhost/mvc/$1 [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA,l]
Exit mobile version