Htaccess File

mcdir/blogMVCphp/master/public/.htaccess

ENV, REDIRECT_STATUS, REQUEST_FILENAME
Options -MultiViews
Options -Indexes

RewriteEngine On
RewriteBase /blogMVCphp/public/

RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

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