[PHP] php_flag in httpd.conf

2002-09-07 Thread Mitch Vincent

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




Re: [PHP] php_flag in httpd.conf

2002-09-07 Thread Jason Reid

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
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: Mitch Vincent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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




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




Re: [PHP] php_flag in httpd.conf

2002-09-07 Thread Mitch Vincent

Oops -- that was a typo, I did have it On in the last directive.. I was 
changing it all around before I sent the email..


On Saturday, September 7, 2002, at 08:45  PM, Jason Reid wrote:

 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
 [EMAIL PROTECTED]
 --
 AC Host Canada
 www.achost.ca
 - Original Message -
 From: Mitch Vincent [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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