Re: register_globals flag in some directories

From: Date: Tue, 11 Jun 2002 19:36:15 +0000
Subject: Re: register_globals flag in some directories
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-101600@lists.php.net to get a copy of this message
Ahmed. If you changed the AllowOverride setting in httpd.conf, you will need to restart apache. I tried what I suggested here (on a RedHat 7.3 system) so I know its OK. In httpd.conf there can be many instances of AllowOverride, one per directory. Are you sure you changed the right one? Just a thought. Regards Chris Ahmed Farouk wrote:
Chris, Thanks for your response, but I already tried that but still not working! is there anything I should do let apache recognize that there is .htaccess ? permissions for example > ----- Original Message ----- From: "Chris Hewitt" <g0pae@manordat.demon.co.uk> To: "Ahmed Abdalla" <ahmed@arabiccards.com> Sent: Tuesday, June 11, 2002 9:06 PM Subject: Re: [PHP] register_globals flag in some directories
Ahmed, The /etc/httpd/conf/httpd.conf file might not allow .htaccess to override the setting. I've just tried this here and if I have "AllowOverride All" then I can change register_globals in a .htaccess file exactly as you have specified. If I have "AllowOverride None" then I can't. I don't know which override allowance is needed for php. I haven't found it in the manual (but then I might not have looked hard enough). Hope this helps. Chris Ahmed Abdalla wrote:
I am sorry if this is asked before, but I have apache 2.0.36 with php
4.2.1
in the php.ini file register_globals is set off, but i want to turn it on
in
some directories I tried to create .htaccess file in that directory and put in it php_flag register_globals on but its not working, so did i do anything wrong or should I do anything
else
? Thanks for your help


« previous php.general (#101600) next »