[Modsecurity] LocationMatch question

Holm Kapschitzki holm at x-provi.de
Wed Apr 18 04:38:17 EDT 2007


Hello,

sorry im an new in mod_sec. I have some problems with some rules und 
solve this with the location match. But i wonder cause i make an exclude 
rules and this doesnt help. If there is any sign after my string i have 
to use ".*" right ? But whats up with folders and signs before "/".

For example this is the string:

<LocationMatch "/newreply.php?do=postreply&t=.*">
SecFilterRemove 300018
</LocationMatch>

But the root directory is "/forum/newreply.php?do=postreply&t=13 ......" 
With the folder "forum" before.

I have to use a wildcard before the string 
"/newreply.php?do=postreply&t=.*"?

greets Holm


More information about the Modsecurity mailing list