Hi Koen,

Thanks for that. I'll give it a go.

I did try with nginx in front for a bit.

Do you know off the top of your head if one can you get multi-threaded and
websockets behind ha-proxy ?

I just wanna be a cool kid :D

Thanks heaps,
Matthew Sherborne

On Wed, Sep 7, 2011 at 9:05 PM, Koen Deforche <k...@emweb.be> wrote:

> Hey Matthew,
>
> 2011/9/5 Matthew Sherborne <msherbo...@gmail.com>:
> > I'm on a similar situation.
> > Running my server on the front line with no apache or anything in front
> of
> > it.
> > So I have to run it as root to be able to listen on port 80.
> > I heard I have to use setuid() and fork down to another user level or
> > something.
> > I haven't investigated how to do it yet though.
> > If anyone knows .. please share the info :)
>
> I would believe that you should be able to do this by using WServer
> instead of WRun(), and call setuid() after you have started the server
> with server.start().
>
> See the WServer documentation:
>
> http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WServer.html#_details
>
> But I think that in almost all cases it is more useful to put a
> light-weight proxy in front of Wt, like haproxy ?
>
> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> Using storage to extend the benefits of virtualization and iSCSI
> Virtualization increases hardware utilization and delivers a new level of
> agility. Learn what those decisions are and how to modernize your storage
> and backup environments for virtualization.
> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to