Re: php_flag in httpd.conf
| From: | Jason Reid | Date: | Sun, 08 Sep 2002 03:45:38 +0000 |
| Subject: | Re: php_flag in httpd.conf | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115641@lists.php.net to get a copy of this message | ||
Change off to on in the last <directory> container or omit it if php is
enabled by default. thats probaly where the problem is.
Jason Reid
jason@achost.ca
--
AC Host Canada
www.achost.ca
----- Original Message -----
From: "Mitch Vincent" <mitch@unixprogramming.net>
To: <php-general@lists.php.net>
Sent: Saturday, September 07, 2002 9:39 PM
Subject: [PHP] php_flag in httpd.conf
> Though the manual says it's possible I have bene unable to turn the PHP
> engine on and of per *directory*..
>
> Towards the top of the httpd.conf file I have :
>
> <Directory />
>
> Options FollowSymLinks
> AllowOverride None
>
> php_flag engine off
>
> </Directory>
>
>
> Then further down for a directory I need PHP in I have
>
> <Directory "/usr/site/www/www.foobar.com/*">
>
> Options FollowSymLinks
> AllowOverride None
>
> php_flag engine off
>
> </Directory>
>
> And this doesn't work.. Note that it does seem to work including it in
> <VirtualHost> directives but I'm using mod_vhost_alias so I don't have
> <virtualhost> directives for all my sites..
>
> Thanks to anyone that can help, please CC this address with replies!
>
> -Mitch
>
> I can only please one person per day. Today is not your day. Tomorrow
> doesn't look good either.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>