[Mono-devel-list] mod_mono / xsp question
Gonzalo Paniagua Javier
gonzalo at ximian.com
Thu May 12 16:31:50 EDT 2005
On Thu, 2005-05-12 at 15:05 +0200, Sebastian Böhm wrote:
> under fastcgi there is an enviroment variable called "DOCUMENT_ROOT",
> this gives me the DocumentRoot of the apache webserver.
> Does mod_mono have something comparable, to find the DocumentRoot of the
> WebServer ?
> HttpContext.Request.PhysicalApplicationPath gives the root of the xsp
> application, but not of the webserver.
> Thank you for your help.
When running mod_mono+xsp, you'll get that DOCUMENT_ROOT in the server
variables collection. With xsp standalone, there's no such thing.
More information about the Mono-devel-list