> > Use %1 for back-references to RewriteCond.  $1 is a back-reference to
> > the RewriteRule.
> 
> Additionally, backreferences aren't populated unless the string you want
> to capture is in parentheses.
> 
> --n
> 
> --
> Neil! Your bed's on fire

So I have to use ...

RewriteCond %{QUERY_STRING} =+"litId=\d+"

... instead of ...

RewriteCond %{QUERY_STRING} ^litId\=\d+$

... if I want to use the %1 reference? If so, is my syntax correct? I
tried that earlier and it didn't work until I switched over to regex.
Can I combine parentheses and regex?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to