[imp] SERVER_NAME vs. HTTP_HOST

Michael J Rubinsky mrubinsk at horde.org
Sat Apr 29 19:40:38 UTC 2017


Quoting Dr. Lars Hanke <debian at lhanke.de>:

> I built a Horde server in my DMZ. I can be reached via an internal  
> name and via an external name. The internal name cannot be resolved  
> outside of my LAN. The external name causes a quite looped route. So  
> it would be nice, if Horde produced links and redirects to the host  
> name in the original request.
>
> However, what happens is that Horde seems to use SERVER_NAME instead  
> of HTTP_HOST.

Horde uses whatever you tell it to use for this. It's the  
$conf['server']['name'] configuration value. See  
Administration->Config->Horde->General

  This currently causes horde to return an internal
> address, which makes the server unavailable from outside.
>
> Is there any way to solve it beyond using another virtual host for  
> external access?
>
> Any help appreciated,
>
>  - lars.
>
> -- 
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/imp/attachments/20170429/b2e1f038/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 821 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/imp/attachments/20170429/b2e1f038/attachment-0001.bin>


More information about the imp mailing list