[vox-tech] Apache mod_rewrite problem.

Ryan Castellucci cjg5ehir02 at sneakemail.com
Sat Mar 26 13:39:00 PST 2005


I'm using Apach 1.3.33 with mod_rewrite.
I have the following rule...
RewriteRule ^/ic-(.*) /$1 [L]

When it matches, I see the following in my rewrite log.

(3) applying pattern '^/ic-(.*)' to uri '/ic-foo.html'
(2) rewrite /ic-foo.html -> /

What the heck? Shouldn't it become '/foo.html'?

I've already tried without the leading / or ^, no help there.

-- 
Ryan Castellucci - http://ryanc.org/
GPG Key: http://ryanc.org/files/publickey.asc


More information about the vox-tech mailing list