0

I tested these mod_rewrite's

Options +FollowSymlinks
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteRule ^(.*)\/$ /index.php?req=$1

rules at http://htaccess.madewithlove.be/

and got exactly the results I needed, as you may see in this image:

enter image description here

but when I run the very same URL in my server I receive a 404 error:

enter image description here

Any clues about why is this happening?

Ed de Almeida
  • 3,675
  • 4
  • 25
  • 57

0 Answers0