[squid-users] problems using java

From: Sebastian Kösters <skoesters@dont-contact.us>
Date: Tue, 17 Aug 2004 12:20:15 +0200

Hi,

we use squid with dansguardian.

Our Backoffice needs a Java-Program (.JLNP) which gets updates every day.
But they can´t use the updated version trough the Proxy. Before they can use
it they have to deled the java-cache.

Is it possible to tell squid that he gives direct internet access when a
specified URL is called by a client? Deleting the cache at every update is
not so good.

My squid.conf looks like this:

http_port 3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_access deny CONNECT !SSL_ports

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 QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 256 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
cache_dir ufs /cache 10000 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
visible_hostname proxy.sino.de
client_netmask 255.255.255.255
ftp_user anonymouse@
#Recommended minimum configuration:
#auth_param digest program <uncomment and complete this line>
#auth_param digest children 5
#auth_param digest realm Squid proxy-caching web server
#auth_param digest nonce_garbage_interval 5 minutes
#auth_param digest nonce_max_duration 30 minutes
#auth_param digest nonce_max_count 50
#auth_param ntlm program <uncomment and complete this line to activate>
#auth_param ntlm children 5
#auth_param ntlm max_challenge_reuses 0
#auth_param ntlm max_challenge_lifetime 2 minutes
#auth_param basic program <uncomment and complete this line>
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320

acl dontcache dst 0.0.0.0/0.0.0.0
no_cache dontcache

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.0/255.255.255.0

http_access allow localhost
http_access deny all
http_reply_access allow localhost
cache_effective_user squid
cache_effective_group squid
error_directory /usr/local/squid/share/errors/German

Hope someone can help!

regards,

Sebastian
Received on Tue Aug 17 2004 - 04:16:01 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT