[imp] SERVER_NAME vs SERVER_HOST
Jon Parise
jon@horde.org
Wed, 27 Mar 2002 10:28:50 -0500
On Wed, Mar 27, 2002 at 06:32:50AM -0300, Oliver Schulze L. wrote:
> $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME']
> in /horde/config/registry.php
[snip]
> I look in phpinfo() and the variable that solve the problem is:
> $GLOBALS['HTTP_SERVER_VARS']['HTTP_HOST']
[snip]
> Can this be a patch?
Because you can solve your problem by changing a configuration
value, I don't see the reason to change the default. I'm also
not sure $HTTP_HOST will be valid for all web servers (e.g. IIS,
iPlanet, etc.).
--
Jon Parise (jon@csh.rit.edu) . Information Technology (2001)
http://www.csh.rit.edu/~jon/ : Computer Science House Member