[httpd 2.2.3][conf] regular expression problem in <LocateMatch>

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

 



Dear All,

I need <LocateMatch "<my expression here>" to match an url of the following form:

/faq/index.php?faq_name=Staff&category=0

To do that I tried with the following expressions:

"/faq/.*faq_name.*"
"/faq/.*?faq_name.*"
"/faq/*faq_name*"

Non of them seem to work. And I've tried dozens of other little hacks.
Basically I need a non-greedy match of anything before a particular word.

What am I doing wrong? What's the best source for the allowed syntax in httpd.conf?

Thanks in advance

Thorsten, Dezide


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