Re: [users@httpd] Regexps in rewrite rules

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

 



On Mar 22, 2005, at 10:55 AM, Gary Wilson wrote:
Still interested as to why my original solution won't work though
(I tried with and without line terminator etc - in fact I've tried over
10 incarnations of that regexp - just can't seem to get perl style
negations working under apache) - but that's for another time and
place now :)

The simplest answer for why your original rule didn't work is you can't use back references with "not match" patterns. Remember that a "not match" is the same as accepting a failure to match. If you fail to match, then there won't be anything matched on that you can store in a back reference.

-Brian


---------------------------------------------------------------------
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