Re: Combining deny and allow conditions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 1, 2010 at 8:34 AM, Tim Watts <tw@xxxxxxxxxx> 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@xxxxxxxxx

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux