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

Re: [HS PROXY]Squid



Toto Carpaccio a écrit :

>Comment fais tu pour vider le cache ?
>  
>
Pour supprimer une page en particulier, tu as l'outil squidclient.
Normalement, tu peux l'utiser localement par defaut (c'est le
http_access allow purge localhost). Je ne me souviens plus comment ca
marche, si quelqu'un de la liste l'utilise, il pourra certainement
t'aider. Sinon, il y a la methode basic : arret du proxy, effacement du
contenu du dossier cache, recreation de la structure du cache (squid -z)
et redemarrage du proxy.

A+

>2005/12/1, Marc PERRUDIN <debianNOSPAM@mp342.org>:
>  
>
>>As tu essayé de vider le cache, on ne sait jamais. Il peut y avoir eu
>>une erreur la premiere fois et maintenant, c'est dans le cache. Sinon,
>>voici ma config, j'ai supprimé les adresses réseaux et les lignes de
>>commentaires. De mémoire, c'est pratiquement la config par defaut:
>>
>>http_port 8080
>>icp_port 0
>>hierarchy_stoplist cgi-bin ?
>>acl QUERY urlpath_regex cgi-bin \?
>>no_cache deny QUERY
>>maximum_object_size 8192 KB
>>cache_dir ufs /var/spool/squid/cache1 2800 16 256
>>cache_dir ufs /var/spool/squid/cache2 6000 16 256
>>cache_dir ufs /var/spool/squid/cache3 6000 16 256
>>ftp_user ftp@xxxx.xx
>>request_body_max_size 2 MB
>>acl all src 0.0.0.0/0.0.0.0
>>acl ...
>>acl manager proto cache_object
>>acl localhost src 127.0.0.1/255.255.255.255
>>acl SSL_ports port 443 563
>>acl Safe_ports port 80          # http
>>acl Safe_ports port 21          # ftp
>>acl Safe_ports port 443 563     # https, snews
>>acl Safe_ports port 70          # gopher
>>acl Safe_ports port 210         # wais
>>acl Safe_ports port 1025-65535  # unregistered ports
>>acl Safe_ports port 280         # http-mgmt
>>acl Safe_ports port 488         # gss-http
>>acl Safe_ports port 591         # filemaker
>>acl Safe_ports port 777         # multiling http
>>acl Safe_ports port 901         # SWAT
>>acl Safe_ports port 631         # IPP
>>acl purge method PURGE
>>acl CONNECT method CONNECT
>>http_access allow manager localhost
>>http_access deny manager
>>http_access allow purge localhost
>>http_access deny purge
>>http_access deny !Safe_ports
>>http_access deny CONNECT !SSL_ports
>>http_access allow ...
>>http_access deny all
>>
>>
>>
>>Toto Carpaccio a écrit :
>>
>>    
>>
>>>Merci! Tu peux m envoyer ton conf en entier je regarderais. Mais je ne
>>>crois pas que cela vienne d'une mauvaise configuration, enfin j'en
>>>sais trop rien ca le fait sur tous les postes de mon réseau. Je ne
>>>comprends pas, voici l'erreur Java complète si cela peut inspirer
>>>certains codeurs....
>>>
>>>JSP Processing Error
>>>HTTP Error Code:   404
>>>
>>>Error Message:JSPG0036E: Failed to find resource /entry/download_browser.jsp
>>>
>>>Root Cause:java.io.FileNotFoundException: JSPG0036E: Failed to find
>>>resource /entry/download_browser.jsp   at
>>>com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.findWrapper(JSPExtensionProcessor.java(Compiled
>>>Code)) at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java(Compiled
>>>Code)) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java(Compiled
>>>Code)) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java(Compiled
>>>Code)) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java(Compiled
>>>Code)) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled
>>>Code)) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled
>>>Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled
>>>Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled
>>>Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java(Compiled
>>>Code)) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java(Compiled
>>>Code)) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java(Compiled
>>>Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled
>>>Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
>>>Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
>>>Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
>>>Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1394)
>>>
>>>
>>>
>>>
>>>
>>>      
>>>
>>--
>>Pensez à lire la FAQ de la liste avant de poser une question :
>>http://wiki.debian.net/?DebianFrench
>>
>>Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
>>
>>To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
>>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>>
>>
>>    
>>
>
>  
>



Reply to: