> I'd like to run squid -k reconfigure from Web form. I know it=20
> sounds like a
> crazy idea, but that's what I like to do. The idea is make a=20
> sevice that
> gives a teacher an easy way to restrain class from Internet.=20
> The other part
> of program works but managing Squid isn't.=20
> I have perl script which works fine when run from shell, but=20
> 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)=20
> 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.