Re: [users@httpd] RewriteMap substitutions in RewriteRule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/12/05, Tony VanScoy <tvanscoy@xxxxxxxxx> wrote:

> > Additionally, backreferences aren't populated unless the string you want
> > to capture is in parentheses.

> So I have to use ...
> 
> RewriteCond %{QUERY_STRING} =+"litId=\d+"
> 
> ... instead of ...
> 
> RewriteCond %{QUERY_STRING} ^litId\=\d+$

No.  You need to use something like ^litld=(\d+)$

You need parentheses () around the thing you want captured in the %1.

Joshua.

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux