Problimata prospa8ontas na ksekinisi to squid

Giannis Stoilis giannis at stoilis.gr
Tue Sep 30 13:44:12 EEST 2003


sibas ppap wrote:
> loipon to
> chown -R nobody.nogroup /usr/local/squid/var/cache
> leitourgise kai etsi ksekinise to squid
> exo omos problimata otan pao na sunde8o apo ton IE h Mozilla
> mou deixni to parakato
> 
> ERROR
> The requested URL could not be retrieved
> 
> -------------------------------------------------------------------------------- 
> 
> 
> While trying to retrieve the URL: http://groups.google.com/groups?
> 
> The following error was encountered:
> 
> Access Denied.
> Access control configuration prevents your request from being allowed at 
> this time. Please contact your service provider if you feel this is 
> incorrect.
> 
> Your cache administrator is webmaster.
> 
> -------------------------------------------------------------------------------- 
> 
> 
> Generated Tue, 30 Sep 2003 10:04:38 GMT by linux.local (squid/2.5.STABLE4)
> 
> sto squid.conf exo balei ta epomena
> 
> http_port 192.168.1.1:3128
> 
> 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 localhost dst 127.0.0.1/8
> acl SSL_ports port 443 563
> acl Safe_ports port 80 21 443 563 70 210 280 488 591 777 1025-65535
> acl CONNECT method CONNECT
> acl allowed_hosts src 192.168.1.1/255.255.255.0
> 
> http_access allow manager localhost
> http_access deny manager
> #http_access allow localhost
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow allowed_hosts
> http_access deny all
> 
> kapoia idea gia to ti na kano;

Exeis peiraksei esu to Safe_ports? Periergo to blepw. Dokimase ka8e 
entry na to baleis se dikh tou grammh, p.x.

acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443

klp... to idio kane kai me to SSL_ports. To teleutaio entry(1025-65535) 
nomizw oti kalo 8a einai na to bgaleis, gia 8ema asfaleias...

An den sou doulepsei, pros8ese auto:

http_access allow all

oso pio panw ginetai, p.x. meta to:

http_access allow manager localhost

dokimase pali, 8a prepei na douleuei. Dokimase meta pali, katebazwntas 
to mia mia 8esh parakatw, mexri na sou dhmiourgh8ei pali problhma. Otan 
sou dhmiourgh8ei to problhma ksana, 8a katalabeis poia grammh einai pou 
to enoxlei, kai 8a thn dior8wseis analoga.

- Giannis Stoilis





More information about the Migrate2linux mailing list