Its not ideal for every situation but running nginx on 80 to reverse proxy works pretty well, it means you can serve the static files with it and forward the dynamic requests to yaws / mochiweb<br><br><div class="gmail_quote">
2008/12/18 Michael Radford <span dir="ltr"><<a href="mailto:mrad-direct-erlang@blorf.com">mrad-direct-erlang@blorf.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In Linux, it's also extremely easy to forward, say, port 80 to port 8080<br>
using iptables. Then no setuid programs are needed at all.<br>
<br>
Mike<br>
<div><div></div><div class="Wj3C7c"><br>
Claes Wikstrom writes:<br>
> Decker, Nils wrote:<br>
> > Hello,<br>
> ><br>
> > I am using a small tool named authbind [1] in my project without any problems.<br>
> > It is a LD_PRELOAD wrapper and a setuid root binary. The right to open specific ports<br>
> > can be controlled in /etc/.<br>
><br>
> Brilliant. There also an equivalent program call privbind that does<br>
> the same thing.<br>
><br>
> This is precisely what is needed for, for example Yaws on Linux system<br>
> Perfect.<br>
><br>
><br>
> /klacke<br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>