I have setup a squid proxy 2.5-STABLE9 on Fedora Core 3 in the intranet to cache the internet traffic. However, the proxy server do not return the correct dynamic HTTP content (e.g. ASP web applications) with missing images (e.g. GIF) when the user access intranet servers, but there is no problem to access outside internet applications. I have added the no_cache and always_direct as follows :-
.... acl QUERY urlpath_regex cgi-bin \? \.asp asp .asp \.jsp jsp .jsp no_cache deny QUERY acl internal-servers dstdomain .example.com always_direct allow internal-servers ..... (others follow basic configs)
The network topology follows :-
--- Intranet servers -- Squid Proxy ---F/W--- Internet
I think the problem is related to the problem of direct access to intranet servers, but the problem solved when I set on the browser not to access proxy for the domain "example.com". I hope anyone could help to advise how to solve the problem in squid config. because the intranet is so large that I could not add the domains of direct access one by one to every users.
Thanks a lot.
John Mok