|
Re: How to remove rule on file in phase1?: msg#00092apache.mod-security.user
On 11/15/06, pedro <pedro311@xxxxxxxxx> wrote: > Hello :) > > Quick question: I want to remove rule (ie. 60015, it's in phase 1) for one, > specified file (/rss.php). > How can I make it? > Simple <LocationMatch> doesn't work... There's a problem I haven't solved yet and probably needs to be better documented (I am sure I mentioned it somewhere in the documentation). Phase 1 rules are executed at the earliest possible moment. At that time Apache hasn't yet figured out the context of the request yet. Practically this means that you should place phase 1 rules only in the main server or in the virtual hosts. If you place them elsewhere (e.g. <Directory>, <Location>, etc) they will simply not be invoked. That's probably why you cannot revoke your rules from a <LocationMatch> context, ie they are removed from that context but that context is not used for processing. FYI I intend to solve this problem by handing the <Location> tags directly in ModSecurity. -- Ivan Ristic ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How to remove rule on file in phase1?: 00092, pedro |
|---|---|
| Next by Date: | mod_security functionality bypass through .htaccess issue.: 00092, Ahmed Medhat |
| Previous by Thread: | How to remove rule on file in phase1?i: 00092, pedro |
| Next by Thread: | mod_security functionality bypass through .htaccess issue.: 00092, Ahmed Medhat |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |