Hello,

a user of mine is complaining that with IE 8 he cannot open URLS like
ftp://u...@site.tld though my cache (the same works quite well with
chrome) on his Windows seven PC.
He gets:
ERROR
Cache Access Denied

--------------------------------------------------------------------------------

While trying to retrieve the URL: ftp://u...@www.example.it/ 

The following error was encountered: 

.Cache Access Denied. 

Sorry, you are not currently allowed to request: 

    ftp://u...@www.example.it/from this cache until you have authenticated 
yourself. 

You need to use Netscape version 2.0 or greater, or Microsoft Internet Explorer 
3.0, or an HTTP/1.1 compliant browser for this to work. Please contact the 
cache administrator if you have difficulties authenticating yourself or change 
your default password. 



--------------------------------------------------------------------------------

Generated Tue, 01 Jun 2010 12:52:17 GMT by belisama.example.it 
(squid/2.7.STABLE9) 

Instead of the request of user and password that comes with Chrome.

Using FireFox 3.6.3 he first gets a warning window saying "wou are about to
access www.example.it as user user, is that what you want?". By clicking "OK"

he gets:

ERROR
The requested URL could not be retrieved

An FTP authentication failure occurred while trying to retrieve the URL: 
ftp://u...@www.example.it/

Squid sent the following FTP command:

    PASS <yourpassword>

and then received this reply

    Login authentication failed

Your cache administrator is n...@example.it.
Generated Tue, 01 Jun 2010 13:04:25 GMT by belisama.example.it 
(squid/2.7.STABLE9) 

Is that normal?

My squid.conf file goes:

http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 64 MB
maximum_object_size 65536 KB
minimum_object_size 1 KB
cache_dir ufs /var/cache/squid 51200 16 256
cache_access_log /var/log/squid/access.log
cache_store_log none
ftp_user sq...@example.it
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
positive_dns_ttl 2 hours
request_timeout 15 minutes
pconn_timeout 1200 seconds
acl all src 0.0.0.0/0.0.0.0
acl inside src 192.168.0.0/16 10.0.101.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563 2087 8443
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
acl ftp proto ftp
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 inside
http_access allow ftp
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr n...@example.it
cache_effective_user squid
visible_hostname belisama.example.it
coredump_dir /var/cache/squid


luciano.
-- 
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthams...@sublink.sublink.org
 / \  AND POSTINGS        /   WWW: http://www.mannucci.ORG/

Reply via email to