chrisjhill/MVC/master/Web/.htaccess - Htaccess File

chrisjhill/MVC/master/Web/.htaccess

# 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]

On Github License

Files

Download PDF of Htaccess file
ENV, REQUEST_FILENAME

Comments

Apache