This is a discussion on RE: [squid-users] Squid -k reconfigure from Web form within the Squid Users forums, part of the Web Server and Related Forums category; =20 > I'd like to run squid -k reconfigure from Web form. I know it=20 > sounds like ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
=20
> 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? >=20 > system("/usr/local/squid/sbin/squid -k reconfigure") causes: > squid: ERROR: Could not send signal 1 to process 3646: (1)=20 > Operation not > permitted >=20 =20 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. |