RE: [squid-users] Squid -k reconfigure from Web form

From: Elsen Marc <elsen@dont-contact.us>
Date: Thu, 26 Feb 2004 07:38:29 +0100

 
> I'd like to run squid -k reconfigure from Web form. I know it
> sounds like a
> crazy idea, but that's what I like to do. The idea is make a
> sevice that
> gives a teacher an easy way to restrain class from Internet.
> The other part
> of program works but managing Squid isn't.
> I have perl script which works fine when run from shell, but
> not when run
> with Apache. I wonder if it's possible at all?
>
> system("/usr/local/squid/sbin/squid -k reconfigure") causes:
> squid: ERROR: Could not send signal 1 to process 3646: (1)
> Operation not
> permitted
>
 
 Probably, the intended program must run under the same uid as the
user squid is being configured to run under in squid.conf or else
the application must run as root.

 M.
Received on Wed Feb 25 2004 - 23:38:32 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST