Leonardo Carneiro - Veltrac wrote:
Hi everyone. I want to allow access to a subdomain ( folha.uol.com.br )
while keeping the main domain blocked ( uol.com.br ).
So far, so good. I'd added the subdomain in a allowed access list before
blocking the main domain in another acl.
But there is the issue: all images, flashs and all the sparkling stuff
showed in the subdomain page is actually hosted in the main domain.
While I can open the page, all the media on the page cannot be
displayed. There is a simple solution for this or do i have to create a
allow acl containing the media of the main domain?
Yes. The solution is another ACL for the media.
Or possibly a little easier an ACL specifically denying only the pages
of the main domain.
For example;
acl mainpages urlpath_regex -i \.(/|html)(\?.*)$
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.4