On 01/06/10 14:24, Eric Covener wrote:
On Tue, Jun 1, 2010 at 8:34 AM, Tim Watts<t...@dionic.net>  wrote:
On 01/06/10 13:29, Eric Covener wrote:

I could do it better if there was a "FilesNotMatch" directive or
equivalent.

You can use the zero-width assertions like negative lookahead in PCRE
to create *Match directives that are conceptually negated.



Ah. Any chance of an example to get me going, he says cheekily ;->

I can test them with pcretest first.

something like this?

^.+\.(?!(html|css|js)$)



I see that starting to work in pcretest. I'll work on that a bit and see if I can understand what ?! is doing (I'm au fait with perl REs but I've not used that construct before...

Thanks very much for the pointer Eric.

Cheers

Tim

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to