[thelist] mod_rewrite not working :(
Chris W. Parker
cparker at swatgear.com
Thu Jul 3 15:34:11 CDT 2003
Hi.
Using default RedHat 8 install.
Not sure what I'm not doing correctly but I can't get even the simplest rewrite rule to work. I'm placing a .htaccess file one level deeper than my home directory.
So the physical web root is:
/home/cparker/public_html/
(same as www.domain.com/~cparker/)
I'm putting the file here:
/home/cparker/public_html/oop/
(same as www.domain.com/~cparker/oop/)
Here are the contents of this file so far.
RewriteEngine On
RewriteBase /~cparker/oop/
RewriteRule ^x$ detail.php?id=atitcb
I'm expecting this rule to match:
www.domain.com/~cparker/oop/x
and turn it into:
www.domain.com/~cparker/oop/detail.php?id=atitcb
But it doesn't work. :(
Anyone see what's going wrong?
Chris.
More information about the thelist
mailing list