httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Ottosen <thorsten.otto...@dezide.com>
Subject [users@httpd] [httpd 2.2.3][conf] regular expression problem in <LocateMatch>
Date Tue, 16 Jan 2007 17:08:35 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message