Hi all!

is there a way to restart apache from a php script under admserv?

I have tried creating a file /usr/sausalito/ui/web/restart.php with the following:

<?php
system('/usr/sausalito/handlers/base/apache/restart_httpd.pl');

It returns "BYE SUCCESS" correcly when called http://<addr>:444/restart.php but it does not restart.

Actually i am trying to create a web hook for a monitoring service.

TKS

Simone

--

Simone Capra
_______________________________________________________
E.R. WEB - s.r.l.

Cerco lavoro: http://www.jobnetwork.it

_______________________________________________
Blueonyx mailing list
[email protected]
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to