I need to redirect all requests to public/index.php. I tried to google it, but it doesn't work. My current .htaccess:
RewriteEngine on
#RewriteBase
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(css|js|icon|zip|rar|png|jpg|gif|pdf)$ public/index.php [L]
Aucun commentaire:
Enregistrer un commentaire