[horde] Horde with ServerAlias

Chuck Hagenbuch chuck at horde.org
Thu Apr 3 13:15:11 PST 2003


Quoting MrJacK <mrjack at fastorama.com>:

> I don't know if i haven't see the option, but how can i make horde
> support multiple ServerAlias directives in Apache.

Turn off UseCanonicalName in Apache.

> I need this in order to use the gethostbyname() fonction in PHP for a
> personalised motd.php

Use $_SERVER['SERVER_NAME'] instead - much easier/lighter.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"... It is not more light we need, but more warmth! We die of cold, not of
darkness. It is not the night that kills, but the frost." - Miguel de
Unamuno


More information about the horde mailing list