Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users
[httpd 2.2.3][conf] regular expression problem in <LocateMatch>
 

Index | Next | Previous | View Flat


thorsten.ottosen at dezide

Jan 16, 2007, 10:20 AM


Views: 960
Permalink
[httpd 2.2.3][conf] regular expression problem in <LocateMatch>

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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Subject User Time
[httpd 2.2.3][conf] regular expression problem in <LocateMatch> thorsten.ottosen at dezide Jan 16, 2007, 10:20 AM
    Re: [httpd 2.2.3][conf] regular expression problem in <LocateMatch> thorsten.ottosen at dezide Jan 16, 2007, 10:20 AM
        Re: Re: [httpd 2.2.3][conf] regular expression problem in <LocateMatch> steve.j.swift at gmail Jan 16, 2007, 9:42 AM
    Re: [httpd 2.2.3][conf] regular expression problem in <LocateMatch> thorsten.ottosen at dezide Jan 18, 2007, 2:20 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.