[mod-security-users] Apache Regular Expressions
Brought to you by:
victorhora,
zimmerletw
|
From: Rudi S. <te...@wi...> - 2005-02-08 06:23:31
|
Hello, I"m trying to write a Regular expression without any joy, so I thought I'd ask for some help. At this stage the first thing I want to do is match a request using the <Files> Directive. My URLs look like http://www.myserver.com/members.main http://www.myserver.com/members.login I would like to match every request *not* containing the word login on the end: This is what I have and it is not working how I would like. <Files ~ "/[^(login)]$/"> or even <Files ~ "/[^(login)]/"> I'm want to do this so I can sort my Folders for a client with some weird setup. Can you see where I am going wrong ? Many thanks Best Regards Rudi |