Hi,

Wednesday, August 21, 2002, 9:32:43 PM, you wrote:
A> thanx tom, but this doen not seem to have anything to do with it.

A> Regards,

A> Andy



A> "Tom Rogers" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
A> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> Hi,
>>
>> Wednesday, August 21, 2002, 5:34:35 PM, you wrote:
>> A> Hello everybody,
>>
>> A> I am still having problems to run php scripts inside a directory with
>> A> register globals on.
>>
>> A> This is what I did put inside the httpd.conf file right after the
A> <Directory
>> />> close tag.
>>
>> A> <Directory "/home/www/oasis">
>> A>     php_value register_globals on
>> A> </Directory>
>>
>> A> It does not change anything. I restarted apache of course.
>>
>> A> Do u have an idea where the error could live?
>>
>> A> Andy
>>
>>
>> A> "Rasmus Lerdorf" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
>> A> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> >> Sure, turn register_globals on only for the oasis directory.  In your
>> >> httpd.conf add:
>> >>
>> >> <Directory /some/path/oasis>
>> >>     php_value register_globals on
>> >> </Directory>
>> >>
>> >> -Rasmus
>> >>
>> >> On Mon, 19 Aug 2002, Andy wrote:
>>
>>
>> You may need to add in the directory section (never used it so it is a
>> guess)
>>
>> AllowOverride Options
>>
>> --
>> regards,
>> Tom
>>

I eventually got it to work with the following:

<Directory "/usr/local/apache/domains/whatever/www/admin">
        AllowOverride All
        Order allow,deny
        Allow from all
        php_flag         register_globals       on
</Directory>




-- 
regards,
Tom


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

Reply via email to