[Dancer-users] Get the Host that I am running under

Gurunandan Bhat gbhat at pobox.com
Fri Jun 24 15:43:40 CEST 2011


Hi,

I am currently fetching the host my application is running under by fetching
$ENV{HTTP_HOST} inside a route handler. Very soon, I plan to host this
behind Apache with mod_proxy.

How can I get the hostname of the proxy when that happens?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110624/e26a5e6a/attachment-0001.htm>


More information about the Dancer-users mailing list