[horde] Problem with Server name local LAN and Internet

Jan Schneider jan at horde.org
Tue May 18 07:58:07 PDT 2004


Zitat von andreas oster <aoster at novanetwork.de>:

> Hello horde-users,
>
> I have run into a little problem with my horde installation.
>
> Users from inside our company should access the server with
> his real name (http://servername.our-local-domain/horde) on port 80.
> Users from outside can only access the server with https
> through our firewall. The port 443 is NAT-ed from one of our
> global addresses to its real local LAN IP. To access the server
> we have a special webmail DNS entry. The problem is, that when
> someone connects to the server the url in the browser is
> rewritten with the local LAN server name, which is obviously
> not working for users outside of our local LAN. Is it possible
> to have different server names/URLs for local LAN and Internet ??

Replace $_SERVER['SERVER_NAME'] with whatever returns the correct host name
for all cases in registry.php or conf.php (depending on your Horde
version).

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php



More information about the horde mailing list