Any of you guys familiar with mod_rewrite in Apache2 ?
I created a .htaccess file under my home dir /home/john/public_html/
and try to redirect all incoming URL to http://localhost/~john/index.php?page=xxx
but when I try to access a link like http://localhost/~john/register
I got a 404 page not found error
Server says the following URL is not found
/home/john/public_html/index.php
It seems Apache map the requested URL to physical file location
but the file is actually there in that path
and if I do http://localhost/~john/index.php I see the rendered html.
Any clue?
thanks