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.
Ahmed Farouk wrote:
> Thanks for your response, but I already tried that but still not
>is there anything I should do let apache recognize that there is .htaccess ?
>permissions for example >
>----- Original Message -----
>From: "Chris Hewitt" <[EMAIL PROTECTED]>
>To: "Ahmed Abdalla" <[EMAIL PROTECTED]>
>Sent: Tuesday, June 11, 2002 9:06 PM
>Subject: Re: [PHP] register_globals flag in some directories
>>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 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.
>>Ahmed Abdalla wrote:
>>>I am sorry if this is asked before, but I have apache 2.0.36 with php
>>>in the php.ini file register_globals is set off, but i want to turn it on
>>>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
>>>Thanks for your help
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php