Setting register globals in http.conf

From: Date: Thu, 04 Sep 2003 13:44:31 +0000
Subject: Setting register globals in http.conf
Groups: php.general 
Request: Send a blank email to php-general+get-161652@lists.php.net to get a copy of this message
I'm fairly new to apache so if I say something wrong, that's why. Anyways, I have my virtual host set up in my httpd.conf file as follows: <VirtualHost *> Port 80 DocumentRoot /blah/blah/blah ServerName www.register_globals_must_be_on.com php_value include_path ".:/blah/blah/blah:/blah" php_value register_globals 1 </VirtualHost> I don't want it to be set to on for any of my other sites but for this site, it has to be on. Looking at: http://us3.php.net/register_globals I see that the way that I'm turning it on in the container is correct. However, if the value is set to '1', I can't get to the site at all. If it is set to '0', I have no problems and can access the site normally. I don't see anything in apache's error or access log that would give any clue as to what is going wrong. Does the above configuration look wrong to anyone? Should I be doing it differently? thnx, Chris

« previous php.general (#161652) next »