[squid] Problème en Mode transparent
Résolu/Fermé
shaiulud
Messages postés
404
Date d'inscription
mardi 18 décembre 2001
Statut
Membre
Dernière intervention
15 juillet 2014
-
27 juil. 2005 à 22:05
shaiulud Messages postés 404 Date d'inscription mardi 18 décembre 2001 Statut Membre Dernière intervention 15 juillet 2014 - 27 juil. 2005 à 22:49
shaiulud Messages postés 404 Date d'inscription mardi 18 décembre 2001 Statut Membre Dernière intervention 15 juillet 2014 - 27 juil. 2005 à 22:49
A voir également:
- [squid] Problème en Mode transparent
- God mode - Guide
- Mode sécurisé - Guide
- Démarrer en mode sans echec - Guide
- Mode d'emploi - Guide
- Mode sombre facebook - Guide
2 réponses
asevere
Messages postés
13084
Date d'inscription
lundi 28 janvier 2002
Statut
Webmaster
Dernière intervention
3 février 2022
426
27 juil. 2005 à 22:37
27 juil. 2005 à 22:37
salut,
Tu n'as que ça dans ton fichier de conf ?
Il faudrait la totalité du fichier (sans les commentaire grep -v ^#)
Tu n'as que ça dans ton fichier de conf ?
Il faudrait la totalité du fichier (sans les commentaire grep -v ^#)
shaiulud
Messages postés
404
Date d'inscription
mardi 18 décembre 2001
Statut
Membre
Dernière intervention
15 juillet 2014
14
27 juil. 2005 à 22:49
27 juil. 2005 à 22:49
Voici le fichier squid.conf complet
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 62 MB
cache_dir ufs /var/spool/squid 1144 16 256
acl mynetwork src 192.168.10.0/255.255.255.0
acl all src 0.0.0.0/0.0.0.0
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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow mynetwork
http_access deny all
icp_access allow all
visible_hostname 192.168.10.32
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
httpd_accel_host virtual
j'ai retiré la ligne httpd_accel_port 80
et cela fonctionne, je ne comprends pas bien la différence vu que c'est la valeur par défaut
j'ai aussi redémarer mon serveur apache sans changer de config
suite à la lecture de cette page
http://www.squid-cache.org/Doc/FAQ/FAQ-20.html#ss20.3
si qq'un peut m'expliquer
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 62 MB
cache_dir ufs /var/spool/squid 1144 16 256
acl mynetwork src 192.168.10.0/255.255.255.0
acl all src 0.0.0.0/0.0.0.0
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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow mynetwork
http_access deny all
icp_access allow all
visible_hostname 192.168.10.32
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
httpd_accel_host virtual
j'ai retiré la ligne httpd_accel_port 80
et cela fonctionne, je ne comprends pas bien la différence vu que c'est la valeur par défaut
j'ai aussi redémarer mon serveur apache sans changer de config
suite à la lecture de cette page
http://www.squid-cache.org/Doc/FAQ/FAQ-20.html#ss20.3
si qq'un peut m'expliquer