Htaccess File

chrisjhill/MVC/master/Web/.htaccess

ENV, REQUEST_FILENAME
# Either "Dev" or "Live"
SetEnv APP_ENVIRONMENT "Dev"

# Redirect all requests to our index.php file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Exit mobile version