Forum Moderators: phranque
I figured out something really weird on mod_rewrite. Apparently my apache wasnt reading .htaccess but now apparently it is but check this out:
If I type the URL: [localhost...] it returns me a 404 error.
If I type the URL [localhost...] it finds the page:
Well my apache's httpd.conf has been reconfigured thousand times. I think the error maybe in the .htaccess file.
Basically what I think this .htaccess does is if the URL is not a file or a directory, it returns me the index.php file in the main folder
there goes the .htaccess:
RewriteEngine On
Options +FollowSymLinks
IndexIgnore */*
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
any ideas?