|
|
Choosing A Webhost: |
Re: regex for matching urls: msg#00023apache.mod-security.user
SecFilterSelective HTTP_Referer|ARGS "[a-z]+:/+[\w\-_.]*poker[\w\-_.]*\.[a-z]{2,}" That will work whether there's one or two (or more) slashes. For just one or two, try: SecFilterSelective HTTP_Referer|ARGS "[a-z]+:/{1,2}[\w\-_.]*poker[\w\-_.]*\.[a-z]{2,}" Then it will match whether you use normalization or not. Better still: SecFilterSelective HTTP_Referer|ARGS "(ht|f)tps?:/{1,2}[\w\-_.]*poker[\w\-_.]*\.[a-z]{2,4}(/|$)" Tom ----- Original Message ----- From: "Peter Wood" <prw.lists@xxxxxxxxx> To: <mod-security-users@xxxxxxxxxxxxxxxxxxxxx> Sent: Monday, March 07, 2005 11:55 AM Subject: Re: [mod-security-users] regex for matching urls Hrm, never mind, I just tried that, and it didn't work either... any ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: regex for matching urls, Peter Wood |
|---|---|
| Next by Date: | Re: regex for matching urls, Peter Wood |
| Previous by Thread: | Re: regex for matching urls, Peter Wood |
| Next by Thread: | Re: regex for matching urls, Peter Wood |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |