Simple Apache 2.2 access control

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

 



Hello,

 

We are running apache 2.2.15, a simple asset server using a read-only mounted filesystem with millions of static files in it.

 

We are going to generate daily a list of asset names we need to prevent access to, about a thousand of them.

 

We would like to avoid adding a layer of high level language as PHP/Perl…

 

Is there a better approach than writing a very long RewriteRule based on all those names and issue a [R=404]?

We were looking in RewriteMap but feel we need the “complement” of it, something like:

“RewriteRule ${deniedMap} – [R=404]”

But even so this “map” would still be a non-efficient regular _expression_ based code.

 

Any insight would be very welcome!

 

Best regards,

J.Etter

 

 


[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