[Haskell-cafe] Happstack basic question
orclev at gmail.com
Thu Mar 11 09:24:05 EST 2010
You misunderstand his question. He's trying to setup happstack behind a
reverse proxy running on the same system, so he needs to be able to bind it
only to the loopback interface (127.0.0.1), as opposed to all the interfaces
on the system (thereby making it inaccessible from the network unless
accessed through the proxy). I don't know enough about happstack to answer
his question, but I can see from the documentation you provided that there
doesn't seem to be any way to specify address to bind to as Dmitry stated in
his original e-mail.
-R. Kyle Murphy
Curiosity was framed, Ignorance killed the cat.
On Thu, Mar 11, 2010 at 07:39, Martin Kiefel <mk at nopw.de> wrote:
> Hi Dmitry,
> On Thu, Mar 11, 2010 at 11:38:44AM +0300, Dmitry V'yal wrote:
> > Hello haskellers,
> > I want to host a simple happstack application behind a reverse proxy. So
> > ideally would be to bind it to localhost only.
> > According to
> > Conf datatyle has only Port field. Does it mean, there is currently no
> > way to prevent binding happstack to all available interfaces?
> I think you are looking for simpleHTTPWithSocket . You can use
> whatever socket you like.
> > Regards,
> > Dmitry
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe