Re: embedding code
| From: | Jason Wong | Date: | Sat, 04 Oct 2003 19:55:47 +0000 |
| Subject: | Re: embedding code | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165053@lists.php.net to get a copy of this message | ||
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.
*/