Why don't you perfom some kind of request in your CGI which creates a text file somewhere in f.e. /tmp if a certain condition returns true. Then you let root or Administrator run a task every minute to check if this file exists. If so, root / Administrator can restart you Apache Server.
You also might want to include " if ($^O eq Win32) {...} elsif ($^O eq Linux) {...}
Marcel
In reply to Re: restart apache web server from CGI script
by Anonymous Monk
in thread restart apache web server from CGI script
by avo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |