Search squid archive

external_acl_type log= tag, access.log help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My squid conf works as it should except the log information is not being
written to the access.log from a external acl.
http://www.squid-cache.org/Doc/config/external_acl_type/

I am trying to pass log information back from an external_acl however the
log info is not being written to the access log.

When in debug mode the cache log will display the retuned info.
For Example: 
ExternalAclHandleReply: reply=?OK log=?test??
or ?ExternalAclHandleReply: reply=?ERR log=?test??

The log text should be written into the access.log but it does not. The
access log does have the file info for each file requested.

Here is my conf and system info.

Thanks,
Jason M

#----------------------------
#Using: version for windows on Server 2003
#squid-2.7.STABLE8 <10 March 2010)
#----------------------------------
auth_param basic program c:/squid/libexec/mswin_auth.exe 
auth_param basic children 5 
auth_param basic realm MyServer
auth_param basic credentialsttl 1 hour

acl uploads method PUT
acl downloads method GET
external_acl_type filecheck children=1 ttl=10 %LOGIN %SRC %METHOD %PATH
c:/checked.exe
acl filecheck_acl external filecheck

acl KnownUsers proxy_auth REQUIRED 

acl allowfiles urlpath_regex "c:/squid/sbin/files.acl"

http_access deny Uploads !allowfiles

http_reply_access allow uploads filecheck_acl 
http_reply_access deny uploads
http_access allow downloads filecheck_acl 
http_access deny downloads

http_access allow KnownUsers

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 localnet src 192.168.100.0/255.255.255.0

http_access allow manager localhost
http_access deny manager

acl HTTPports port 80 443
http_access deny !HTTPports

icp_access deny all

https_port 443 accel vport=8010 defaultsite=192.168.100.109
cert=c:/squid/etc/ssl/mycert.pem key=c:/squid/etc/ssl/mycert.pem

cache_peer_access myAccel allow localnet

hierarchy_stoplist cgi-bin ?

cache_dir ufs c:/squid/var/cache 100 16 256

access_log c:/squid/var/logs/access.log squid

cache_log c:/squid/var/logs/cache.log

cache_store_log c:/squid/var/logs/store.log

mime_table c:/squid/etc/mime.conf

pid_filename c:/squid/var/logs/squid.pid

diskd_program c:/squid/libexec/diskd-daemon.exe

unlinkd_program c:/squid/libexec/unlinkd.exe

logfile_daemon c:/squid/libexec/logfile-daemon.exe

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

refresh_pattern ^ftp:                    1440       20%        10080
refresh_pattern ^gopher:           1440       0%          1440
refresh_pattern .                             0              20%        4320

acl apache rep_header Server ^Apache
broken_vary_encoding allow apache

visible_hostname Enterprise

snmp_port 0

icon_directory c:/squid/share/icons

error_directory c:/squid/share/errors/English

err_html_text 192.168.100.100

coredump_dir c:/squid/var/cache

#debug_options ALL,2


<<attachment: smime.p7s>>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux