Re: Turn off PHP for certain directories?
| From: | Tom Rogers | Date: | Sun, 02 Feb 2003 11:25:52 +0000 |
| Subject: | Re: Turn off PHP for certain directories? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133985@lists.php.net to get a copy of this message | ||
Hi,
Sunday, February 2, 2003, 3:32:28 PM, you wrote:
BS> Is it possible (using an apache directive, perhaps?) to turn off php parsing
BS> for certain directories within a site? (but not others?)
BS> I picture something like (in httpd.conf)
BS> <directory /home/www/somesite.com/codearchive>
BS> AllowOverride All
BS> Options FollowSymLinks
BS> NoParsePHP
BS> </directory>
BS> Can this be done? How? Perhaps as a php_value entry in the <VirtualHost>
BS> directive?
BS> Thanks,
BS> -Ben
you could try
php_flag engine = Off
--
regards,
Tom