afshinnj/php-mvc/master/.htaccess - Htaccess File

afshinnj/php-mvc/master/.htaccess

Options +FollowSymlinks

# Prevent Directoy listing 
Options -Indexes

RewriteEngine On

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

RewriteRule ^(.*)$ index.php?r=$1 [L,NC,QSA]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache