Search squid archive

recaching squid via PHP.

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

 



Hi,

I'm trying to trigger a recache of the squid config files from a PHP
file, reason being I've got a web page that staff members can use to
enable or disable specific computer labs (subnets) from being able to
access the internet.  The PHP file currently adds and removes lines from
a specific file referenced by squid to determine allowable source
subnets, however I need to execute basically a squid -k reconfigure
command from the PHP page each time the config file is changed.  I tried
using a shell script that did the command, with the SUID flag set so it
would execute as root but this doesn't work (and is perhaps not very
secure?)  Any suggestions?

Thanks.
Tim.


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

  Powered by Linux