httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Anderson ...@pacific.net>
Subject Re: Executing Apache commands with PHP (module)
Date Thu, 20 Jun 2002 14:51:35 GMT
Have your php (though I'd use suexec/perl) write datafiles that are read 
by some script that runs via cron, then it can modify httpd.conf and 
restart it.
Ken


Jochen Kaechelin wrote:
> Am Donnerstag, 20. Juni 2002 15:34 schrieb RuneImp:
> 
>>Instead you should modify the appropriate files &
>>cron the commands to engages to changes every hour
>>like:
>>
>>0 * * * * /usr/local/apache/bin/apachectl graceful
>>0 * * * * /etc/mail/newaliases
>>
>>And let your clients know there changes will take
>>effect within the next hour.
> 
> 
> Ok, I though about this, too!
> 
> But how can I modify httpd.conf with a PHP based Webfrontend when 
> PHP is running under Apaches user (apache.apache)?
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message