Search squid archive

how to realize (external_acl_type) logout without squid -k reconfigure

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

 





Hello Dear Sir :






 We tested external_acl_type for web authentication via writing check.php ,

and login feature is fine

squid config is

external_acl_type session ipv4 concurrency=10 ttl=3600 negative_ttl=0
cache=1048576 %SRC /opt/check.php

check.php ( for login) is

fwrite(STDOUT, $stream_id." OK\n");


But if we don't squid -k reconfigure , logout feature is bad for me how
to update Ok or ERR cache entry without squid -k reconfigure

check.php ( for logout ) is

fwrite(STDOUT, $stream_id." ERR\n");



if possible , please give me some advisement



$stream_line = trim(fgets(STDIN));
$stream_array = split("[ ]+", $stream_line);

if(isset($stream_array[1]))
{
$stream_ip = trim($stream_array[1]);
}

if(isset($stream_array[0]))
{
$stream_id = trim($stream_array[0]);
}
 



_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





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

  Powered by Linux