I have this code in my .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
But it didn't work as you can see in the screenshot below:
Link to screenshot: http://ift.tt/21uJdF8
However if I change my .htaccess file to:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Then I can see this on my browser:
Link to screenshot: http://ift.tt/1IDXF1U
This is how my folder structure looks like:
Link to screenshot: http://ift.tt/21uJbNw
What have I tried?
I have already enabled my mod_rewrite
in XAMPP to try to fix my solution. I had followed these steps in the link below:
Link: http://ift.tt/1IDXEef
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire