|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
Proxy + DNS
Ciao a tutti ho installato il proxy quid e un dns bind
Allora ho questa problema se associo alla macchina web1.sneto.test ip 192.168.0.110 per vedere un servizio esempio tomcat faccio web1.sneto.test:9090 ma sono costretto a mettere nelle opzioni di explorer e firefox che il seguente indirizzo web1.sneto.test non deve passare per il proxy come posso evitare questo passaggio? grazie |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Iscritto dal: Aug 2004
Città: Salento
Messaggi: 1080
|
Quote:
![]() Aggiungi queste righe in squid.conf Codice:
httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on
__________________
Il 90% dei problemi riscontrati sui computer sono localizzabili tra la sedia e la tastiera, il restante 10% nella scopa della donna delle pulizie.
![]() |
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Feb 2003
Città: Formia
Messaggi: 1545
|
Questo è il mio file ma no mi funziona
http_port 3128 icp_port 3130 cache_mem 32 MB cache_dir ufs /usr/local/squid/var/cache 100 16 256 cache_access_log /usr/local/squid/var/logs/access.log cache_log /usr/local/squid/var/logs/cache.log cache_store_log /usr/local/squid/var/logs/store.log emulate_httpd_log off mime_table /usr/local/squid/etc/mime.conf pid_filename /usr/local/squid/var/run/squid.pid acl all src 0/0 acl manager proto cache_object acl localhost src 192.168.0.101/255.255.255.255 acl gio src 192.168.0.134 acl to_localhost dst 127.0.0.0/8 acl vietato dstdomain www.libero2.it acl work_time time 08:00-23:30 #acl password proxy_auth REQUIRED 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 locallan src 192.168.0.116 acl locallan src 192.168.0.0/255.255.255.0 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on #acl locallan src 192.168.0.177 acl CONNECT method CONNECT acl vietato2 dstdomain www.porno.com http_access deny all vietato http_access deny vietato2 http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localhost http_access allow locallan work_time http_access deny gio #cache_mgr squid@miodominio.net cache_effective_user nobody cache_effective_group nobody #visible_hostname proxy.nomedominio.net #append_domain .miodominio.net |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 15:33.