Re: Great bug into php3_merge_dir()

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Great bug into php3_merge_dir()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-11052@lists.php.net to get a copy of this message
> I want to make php disabled by default and then enable it only in some > selected directory of some virtualhost. So I put a "php3_engine off" > into the root of httpd.conf (outside of every virtual host). Then I put > a "php3_engine on" into some <Directory xxx> into some virtualhost, so > (I thought) php is enabled only there. The way to make this work with the current code is to set the server-wide defaults in the php3.ini file and then put put the php3_engine On directives in the individual dirs. Although, I just tried to reproduce your example and was unable to make it fail. I put php3_engine off in the root and then php3_engine on inside a virtualhost block and vice versa and it worked as expected. -Rasmus

« previous php.dev (#11052) next »