httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Govindarajan <nil...@itech7.com>
Subject Re: [users@httpd] PHP to control Apache
Date Mon, 07 Feb 2011 01:20:00 GMT
You can use incrond to fire a script on create/modification event of a
config file that php would be writing to check the config and restart
apache gracefully if test is succesful

On 2/7/11, Lars Nielsen <lars@mit-web.dk> wrote:
> Hi,
>
> I am writing a PHP application to control primarily my VirtualHost
> configurations in Apache(2.2.9). Can you guide my to any good knowlegde
> of
>  1. how to structure the generated configurationfile(s)
>  2. how to reload/restart apache from PHP?
>
> Regards
> Lars Nielsen
> lars@lfweb.dk - www.lfweb.dk
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

-- 
Sent from my mobile device


--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
Cheap and Reliable VPS Hosting: http://j.mp/arHk5e

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message