Re: [mod-security-users] regex for matching urls
Brought to you by:
victorhora,
zimmerletw
|
From: Peter W. <prw...@gm...> - 2005-03-07 20:42:35
|
> > Is he running Apache 1.x and you Apache 2.x? > I'm running Apache 2.x... not sure what he's running, but you may be on to something here. I keep forgetting that not everybody has jumped on the Apache 2.x bandwagon. :-) > In my experience (I can't test now) \w does not work in Apache 1.x. > (Neither do \d and \s.) The really interesting thing is that the > documentation for Apache 1.x regex engine does not exist. > > Try replacing \w with [:word:], but beware [:word:] works only > when used in [ and ]. So [\w\-_.]* becomes [[:word:]\-_.] Thanks, I'll have him try this. Peter -- Peter R. Wood | email: prw...@gm... | blog: http://prwdot.org/ |