Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f # not a file
RewriteCond %{REQUEST_FILENAME} !-d # not a directory
RewriteRule ^(.+)$ index.php?params=$1 [L]
as you can see, i’m trying to convert anything like
mysite.com/x/y/z
to
mysite.com/index.php?params=x/y/z
however, it is not working. i tried mysite.com/home and put a breakpoint on the first line in index.php, but got a 404.
any ideas as to why this isn’t working for me? thanks for anything!
It seems, that either
mod_rewriteis not installed, or enabled, or that you have set theAllowOverride-directive for the specific directory toNone. Change it to (at least)FileInfo