3rafanan/COMP4711-lab2optional/master/.htaccess - Htaccess File

3rafanan/COMP4711-lab2optional/master/.htaccess

DirectoryIndex index.php index.html
RewriteEngine on
# Allow requests for valid file or folder names, or some that should be
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond $1 ^(robots.txt|favicon.ico|style.css)
RewriteRule ^(.*)$ - [L]
# use index.php as front controller ...
RewriteRule ^(.*)$ ./index.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache