>----Messaggio originale---- >Da: projproxy@xxxxxxxxx >Data: 24-feb-2009 10.09 >A: <squid3@xxxxxxxxxxxxx> >Cc: <squid-users@xxxxxxxxxxxxxxx> >Ogg: R: Re: Squid cache cgi-bin > >Hi, > >first thanks already for your answer. > >I´m using squid 3 on SLES 11 server, is working as reverse proxy in front of >a web server that takes the role of parent. > >The configuration works properly for my reverse purpose. > >just the caching doesn´t work. > >In order in squid.conf > >-auth parameter (line 294) >-acl (line 627) >-cache or no_cache(line 645) >-cache_peer_access (line 692) >-http_access (line 696) >-http_port and cache_peer (ca. line 1138) >-hierarchy_stop_list (line 1723) >-Refresh_pattern (line 2764) > >I mainteined the original conf file and in this way I inserted in the right >place my instructions. >I f there´s any kind of mistake (or obsolete instructions) please tell me. I >don´t understand if there´s any kind of instrauction that create a conflict for >caching. >Thanks in advance > > >>----Messaggio originale---- >>Da: squid3@xxxxxxxxxxxxx >>Data: 23-feb-2009 23.38 >>A: "projproxy@xxxxxxxxx"<projproxy@xxxxxxxxx> >>Cc: <squid-users@xxxxxxxxxxxxxxx> >>Ogg: Re: Squid cache cgi-bin >> >>> Hi, >>> >>> I have some questions about squid as reverse proxy. >>> >>> The web server I´m accelerating (cache_peer....) has dynamic content >>> (cgi- >>> bin). >>> >>> At the beginning I left the default cache refresh values (so for cgi- bin >\ >>> / >>> ? has a value "0") and the hierarchy list for cgi-bin.... and "no_cache >>> deny >>> all". >>> >>> Now this pages contain some elements like .gif that I´d like to cash: >>> these >>> elements have not the path http://nameserver/cgi-bi/... but a path like >>> http: >>> //nameserver/icons... >>> >>> I tried with a normal ACL elements url_regex .gif .html .jpeg >>> >>> and then >>> >>> cache allow static >>> >>> But it seems squid is not caching nothing!!! >>> >>> Could you give me any kind of advice? >>> >>> Thanks in advance >>> >> >> >>It's a little unclear what config you are having trouble using. >>The various options you mention above are a mix of current, obsolete, >>deprecated, and irrelevant. >> >>But the use of correct options in the correct order is important for a >>working Squid. >> >>What version are you using? >> >>And in the order listed in yoru squid.conf, what lines do you have that >>start with: >>cache, no_cache, refresh_pattern, acl, or cache_peer* >> >> >>Amos >> >> > >