httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Combining deny and allow conditions
Date Tue, 01 Jun 2010 13:24:50 GMT
On Tue, Jun 1, 2010 at 8:34 AM, Tim Watts <tw@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)$)


-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message