[Mono-list] Multiple Root in XSP

Pablo Fischer pablo@pablo.com.mx
Sat, 28 Feb 2004 14:47:34 -0600


Ok, I'll explain my problem: I have 2 projects:

* asp.net-examples (/usr/share/asp.net-examples/asp)
* school projects (/pablo/aspnet)

What I'm looking for, is to run both projects with XSP but each one with
a --root.

I need to tell --root to both projects, cause If I just run with :


It runs ok, but in the browser I can't see the images (for example, the
mono logo in /samples), cause the WebServer doesn't know where to look
the images (the root dir).

I found that I can solve my problem running two xsp's, each one with a
different root, for example:

xsp --root /usr/share/asp.net-examples/asp --applications

xsp --port 8081 --root /pablo/aspnet --applications /pablo/aspnet

But that isn't too secure, cause I'm using 2 ports, just to imagine when
I need to test 10 projects, 10 ports?.

So, I'd like to know If I can give to --root multiple paths, and when I
access via Browser xsp will know which --root to use.

Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)