On Sunday 05 October 2003 02:58, John Taylor-Johnston wrote: > How do you do that? > > > Wouldn't it be a WHOLE lot smarter to just disable/enable PHP for > > specific sites/folders, etc? What web server are you using? > > Anyone?
In short, you need the following (apache) directive inside the virtual hosts definitions of the hosts in which you DO NOT want php to be run: php_value engine 0 For full details read the apache docs. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Keep up the good work! But please don't ask me to help. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php