beginning mod-rewrite
Posted: Fri Mar 25, 2005 11:45 am
I'm trying to start learning mod-rewrite with a static example.
I'd like to rewrite http://www.example.com/foo/home.php to http://www.example.com/foo/
This is what I have, but it doesn't seem to work. Anyone have any pointers?
I'd like to rewrite http://www.example.com/foo/home.php to http://www.example.com/foo/
This is what I have, but it doesn't seem to work. Anyone have any pointers?
Code: Select all
ReWriteEngine On
RewriteBase /foo/
RewriteRule ^home.php // їR=301]