You could use sudo and give the apache user permission to run, as root,
whichever command you use to restart the server.
Steve
On Thu, 18 Apr 2002, Abd El-Hameed Mohammed wrote:
Hi,
How can i restart the named service via mod_perl.
The script will be activated via a web page.
My apache
On Thu, 18 Apr 2002 [EMAIL PROTECTED] wrote:
or you would be safer running your name server as named as opposed
to root.
STEVE
It should be run as named, but trying to start and stop it as the named
user won't get you very far if you plan on using port 53. :-)
On Wed, 27 Mar 2002, darren chamberlain wrote:
If you are using a PerlTransHandler anyway, you can have one that
sends the client to a particular page if a cookie is not set:
(a) Client requests /foo.html
(b) TransHandler sees that cookie is not set, does an internal
redirect to
Are you using 2 separate apache processes or 2 virtual hosts within the
same apache process?
If it's the latter, according to Apache's documentation:
If no matching virtual host is found, then the first listed virtual
host that matches the IP address will be used.