icamarkov/php-mvc-learning/master/.htaccess - Htaccess File

icamarkov/php-mvc-learning/master/.htaccess

Options -MultiViews

RewriteEngine On

Options -Indexes

#http://localhost/PHP/projects/MVCexample/
RewriteBase /PHP/projects/MVCexample/

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

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache