If you don't use <?php tags in the file it won't make a huge different
if it is on or
off... but if you don't want any parsing see below.

In your .htaccess file do the following for the file types to be turned
off
and remember that this will be from here out in the doc tree:

AddType text/html .html .php



Timothy Hitchens (HiTCHO)
Web Application Consulting
e-mail: [EMAIL PROTECTED]

> -----Original Message-----
> From: Benjamin Smith [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 2 February 2003 3:32 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Turn off PHP for certain directories?
>
>
> Is it possible (using an apache directive, perhaps?) to turn
> off php parsing
> for certain directories within a site? (but not others?)
>
> I picture something like (in httpd.conf)
>
> <directory /home/www/somesite.com/codearchive>
>  AllowOverride All
>  Options FollowSymLinks
>  NoParsePHP
> </directory>
>
> Can this be done? How? Perhaps as a php_value entry in the
> <VirtualHost>
> directive?
>
> Thanks,
>
> -Ben
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to