[Mono-aspnet-list] Multiple domains with XSP2 standalone
Robert Jordan
robertj at gmx.net
Sun Jul 10 10:44:24 EDT 2011
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.
Robert
More information about the Mono-aspnet-list
mailing list