Re: [squid-users] can�t access site fna.gov.co:8081

From: Eliezer Croitoru <eliezer_at_ec.hadorhabaac.com>
Date: Thu, 28 Apr 2011 15:49:24 +0300

On 27/04/2011 22:53, Oscar Andr�s Eraso Moncayo wrote:

> Hi,
>
> squid.conf:
> ******************************************************************************************************************
> http_port 127.0.0.1:3030
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> cache deny QUERY
>
> acl apache rep_header Server ^Apache
> broken_vary_encoding allow apache
>
> cache_mem 1024 MB
> cache_dir ufs /var/spool/squid 4096 16 256
> access_log /var/log/squid/access.log squid
> authenticate_ip_ttl 1 hours
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern . 0 20% 4320
> acl all src 0.0.0.0/0.0.0.0
> acl localhost src 127.0.0.1/255.255.255.255
> #acl msn_messenger req_mime_type -i ^application/x-msn-messenger$
> #acl msn_url url_regex -i gateway.dll
add here these lines:

acl fnagov dstdomain .fna.gov.co
acl fnagovport port 8081
#add if dosnt exist already the nexet line
acl CONNECT method CONNECT
#remember that the next line must be in the top of any deny rule that is
related to one of the acls that in the rule.
http_access allow all fnagov CONNECT fnagovport

should give you what you need.

Regards
Eliezer

> http_access allow localhost
> #http_access deny msn_messenger
> #http_access deny msn_method msn_url
> http_access deny all
> http_reply_access allow all
> icp_access allow all
> error_directory /usr/share/squid/errors/Spanish
> client_db off
> log_fqdn off
> *******************************************************************************************************************************
> Best regards,
>
>
> ________________________________________
> From: Alex Crow [alex_at_nanogherkin.com]
> Sent: Wednesday, April 27, 2011 2:27 PM
> To: Oscar Andr�s Eraso Moncayo
> Cc: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] can�t access site fna.gov.co:8081
>
> On 27/04/11 19:39, Oscar Andr�s Eraso Moncayo wrote:
>> as I do ?
>>
>> thanks !!
>>
> If you show the relevant parts of your squid.conf I'm sure may people
> here will help you with it.
>
> Cheers
>
> Alex
Received on Thu Apr 28 2011 - 12:49:32 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 28 2011 - 12:00:03 MDT