Search squid archive

Fw: Re: php auth crashing squid

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

 



I'm trying to use the external_acl_type to help fix problems with a php auth file timing out. It would be great if squid could only call the program when it needs it. Can anybody suggest changes to the config below
so that the php auth file will not time out. 
 
 
https_port 442 defaultsite=www.tucows.com accel vhost
cert=/squid-cert5/reg-c.crt key=/squid-cert5/squid_key.pem
vhost

visible_hostname proxy
auth_param basic program /usr/bin/php
/usr/local/squid/libexec/squid_php_auth.php
external_acl_type MyAclHelper %LOGIN /usr/bin/php
/usr/local/squid/libexec/squid_php_auth.php
auth_param basic children 40
auth_param basic realm proxy_auth
auth_param basic credentialsttl 2 hours
###external_acl_type MyAclHelper %LOGIN /usr/bin/php
/usr/local/squid/libexec/squid_php_auth.php
acl p1 proxy_auth REQUIRED 
acl proxy1 external MyAclHelper
acl all src 0.0.0.0/0.0.0.0

#acl noport myport 442

cache_peer www.tucows.com parent 80 0 no-query originserver
login=PASS name=www.tucows.com
acl site3 dstdomain www.tucows.com
cache_peer_access www.tucows.com allow site3
http_access allow site3 p1

http_access deny all
debug_options ALL,1 32,2
cache_effective_user squid
cache_effective_group squid
cache_access_log /usr/local/squid/var/logs/access.log

--- On Thu, 12/17/09, Amos Jeffries <squid3@xxxxxxxxxxxxx>
> wrote:
> 
> > From: Amos Jeffries <squid3@xxxxxxxxxxxxx>
> > Subject: Re:  php auth crashing squid
> > To: "John Peterson" <johnp125@xxxxxxxxx>
> > Date: Thursday, December 17, 2009, 8:50 PM
> > John Peterson wrote:
> > > If it starts helpers on demand that would be
> enough to
> > fix the night time crashes. Is there any
> configuration
> > changes in squid.conf to make this work, or is it
> simply
> > just use the new code? Thanks again.
> > > 
> > 
> > There are a few new options, the old config will still
> work
> > though.
> > 
> > If you use any auth_param "concurrency" settings they
> are
> > now merged to the children line as a sub-option
> > concurrency=N
> > 
> > The external_acl_type children=N setting has changed a
> lot.
> > The old config is processed as children-max=N .  The
> > new details are at
> > http://west.squid-cache.org/Versions/v3/HEAD/cfgman/external_acl_type.html
> > 
> > 
> > Amos
> > -- Please be using
> >   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
> >   Current Beta Squid 3.1.0.15
> > 
> 
> 
> 
> 


      


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

  Powered by Linux