perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Egor Shipovalov" <>
Subject RE: How to restart the root server from within modperl?
Date Tue, 12 Aug 2003 19:38:14 GMT
Why not start the Apache from a shell script that would always start it
again if it dies?
To restart the Apache then, you'd just kill the root httpd with apachectl.
Killing the paernt shell script would terminate the whole operation.


> -----Original Message-----
> From: Dirk Lutzebaeck []
> Sent: Tuesday, August 12, 2003 1:17
> To:
> Subject: How to restart the root server from within modperl?
> Hi,
> how can I restart the root httpd server from within modperl? My
> problem is that when I call system() with say apachectl restart the
> father process is stopped killing the children including the apachectl
> itself. So it can't start of again. Can I call something like a reload
> of httpd.conf?
> Why I want to do this? I have a set of configurations and file links
> for different versions for my modperl application which I want to activate
> from the modperl application itself (having a HTML user interface).
> Thanks for help,
> Dirk

View raw message