Serveurproxy
justo
-
foobar47 Messages postés 13654 Statut Contributeur -
foobar47 Messages postés 13654 Statut Contributeur -
salut a tous
j'ai fait serveur proxy avec fedora core3 sur un hp proliant qui a 2 disques dur scsi mais je n'arrive pas a inaiatiliser le cache, on ma parler 2 disques dur,2 cache , cache1 et cache2.je ne sais pas comment configurer mon squid.conf pour les caches soient pris en compte .
voici mon fichier
maximum_object_size 8192 kb
cache_mem 200 MB
cache_dir ufs /cache 4096 22 256
cache_store_log none
cache_effective_user squid
visible_hostname squidhorizon
#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 all src 0.0.0.0/0.0.0.0
acl your_network src 10.0.0.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 82
acl CONNECT method CONNECT
http_access allow manager localhost
http_access allow localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow your_network
icp_access allow all
httpd_accel_host vertual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_reply_access allow all
http_port 3128
quelqu'un peut it m'aider a la faire ou bien bin me donner des idées?
merci
j'ai fait serveur proxy avec fedora core3 sur un hp proliant qui a 2 disques dur scsi mais je n'arrive pas a inaiatiliser le cache, on ma parler 2 disques dur,2 cache , cache1 et cache2.je ne sais pas comment configurer mon squid.conf pour les caches soient pris en compte .
voici mon fichier
maximum_object_size 8192 kb
cache_mem 200 MB
cache_dir ufs /cache 4096 22 256
cache_store_log none
cache_effective_user squid
visible_hostname squidhorizon
#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 all src 0.0.0.0/0.0.0.0
acl your_network src 10.0.0.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 82
acl CONNECT method CONNECT
http_access allow manager localhost
http_access allow localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow your_network
icp_access allow all
httpd_accel_host vertual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_reply_access allow all
http_port 3128
quelqu'un peut it m'aider a la faire ou bien bin me donner des idées?
merci