[dev] SERVER_NAME:SERVER_PORT and UseCanonicalName in Apache conflict

Julian Jares julian@jares.com.ar
Thu, 15 Nov 2001 08:56:30 -0300


How about having the var, but setting it to the Apache Server_name by
default... something like this (in the config file)

#Server name... don't touch this unless you know what you are doing
$SERVER_NAME=getenv('SERVER_NAME');

----- Original Message -----
From: "Chuck Hagenbuch" <chuck@horde.org>
To: <dev@lists.horde.org>
Sent: Thursday, November 15, 2001 3:26 AM
Subject: Re: [dev] SERVER_NAME:SERVER_PORT and UseCanonicalName in Apache
conflict


Quoting Barry Flanagan <barryf-lists@online.ie>:

> Having a config value for $server and $secure_server might be another
> alternative. The code as it is definately will cause grief to anyone else
> with a load-balancer setup.

Having a config value will cause grief to people who use virtualhosts and
rely
on $SERVER_NAME being set correctly.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in
the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin

--
Horde Developers mailing list: http://horde.org/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe@lists.horde.org