Hi,

Wednesday, August 21, 2002, 10:53:48 PM, you wrote:
TR> Hi,

TR> 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
>>>

TR> I eventually got it to work with the following:

TR> <Directory "/usr/local/apache/domains/whatever/www/admin">
TR>         AllowOverride All
TR>         Order allow,deny
TR>         Allow from all
TR>         php_flag         register_globals       on
TR> </Directory>
In the httpd.conf you can get away with just:


<Directory "/usr/local/apache/domains/whatever/www/admin">
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