php_flag in httpd.conf
| From: | Mitch Vincent | Date: | Sun, 08 Sep 2002 03:39:19 +0000 |
| Subject: | php_flag in httpd.conf | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-115640@lists.php.net to get a copy of this message | ||
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.