Mod_rewrite & htaccess


#1

i have the following in my .htaccess:

RewriteEngine on
RewriteBase /
RewriteRule ^/abc.* /def

but when I request /abc12
my request is not rewritten… instead, I just get a 404 error for /abc12

According to the wiki, dreamhost supports mod_rewrite, but I can’t see to get it to change anything!

Have I done something wrong here?


#2

It should be RewriteRule ^abc.* /def

:cool: [color=#6600CC]Atropos[/color] | openvein.org


#3

gotcha… that works!

thanks!