Jeff Rigby :
> Been at this for a few hours to no avail so I'd thought I turn to the
> collective genius of this list.
>
> I'm trying to block all connections to anything but images, text,
> javascript, and CSS. I would like to reply with a 404 error. My server is
> setup in Accel mode. Even blocking only text/html should be sufficient for
> what I need.
>
> I've tried many variations of the following but nothing seems to take. It
> serves text/html just fine. I've tried:
>
> acl allowext url_regex -i \.jpg$ \.png$ \.gif$ \.css$ \.js$
> http_access allow !allowext
> http_access deny !allowext
>
try:
acl allowext url_regex -i \.jpg$ \.png$ \.gif$ \.css$ \.js$
http_access allow allowext
http_access deny all
-- Jeff Pang DingTong Technology www.dtonenetworks.comReceived on Wed Jun 10 2009 - 23:44:59 MDT
This archive was generated by hypermail 2.2.0 : Thu Jun 11 2009 - 12:00:03 MDT