[geeks] .htaccess / mod_rewrite question

Bill Bradford mrbill at mrbill.net
Mon Mar 6 11:42:54 CST 2006


On Sun, Mar 05, 2006 at 06:24:40PM -0500, Phil Stracchino wrote:
> Off the top of my head, try this:
> RewriteRule ^(stats/.*)$ $1 [L]

Didn't work, but this did:

RewriteRule ^(stats/.*)$ - [L]

I dug into the documentation a bit more, and ran across this:

"There is a special substitution string named '-' which means: 
 NO substitution!"

Tried it, boom, it works.

Bill

-- 
Bill Bradford 
Houston, Texas



More information about the geeks mailing list