On Thu, 2005-05-12 at 15:05 +0200, Sebastian BÃhm wrote: > Hi, > > 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. -Gonzalo _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
