[Mono-aspnet-list] Multiple domains with XSP2 standalone
aliaksei.harabchuk at gmail.com
Mon Jul 11 01:18:34 EDT 2011
I use nginx web server and proxy to xsp.
Unfortunately this scheme requires to run several xsp servers on
different ports for each vhost
On 10.07.2011 17:44, Robert Jordan wrote:
> On 10.07.2011 13:28, flowdy wrote:
>> Thanks for your fast reply Robert,
>> though I don't like the answer :)
>> I'm wondering about your statement
> Sorry, I was confusing "domain" with "appdomain", which are totally
> different things :)
> From a comment of XSP's sources:
> // TODO: support vhosts in xsp.exe
> So it's not implemented.
> However, how are you using xsp? If it's listening on port 80 then
> it's probably executed as root, which is not a good idea, because
> xsp doesn't drop its privileges like a real Unix web server does.
> Use a smallish web server like lighttpd and configure a reverse
> proxy to xsp which you can run on another higher port as
> a normal user.
> With lighttpd you can also configure vhosts (this is what you
> called "domains"), so you can kill two birds with one stone.
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
More information about the Mono-aspnet-list