[Mono-devel-list] Patching mod_mono to provide ASP.NET support for an entire virtual host on Apache 1.3.28

Gonzalo Paniagua Javier gonzalo at ximian.com
Fri May 14 01:31:42 EDT 2004


El jue, 13-05-2004 a las 08:31, Christopher McGinnis escribió:
> After compiling mod_mono and configuring it to server ASP.NET pages for a
> complete virtual host I found that Apache would no longer server any web
> pages (including ASP.NET). Serving ASP.NET pages in a virtual/alias'd
> directory, however, worked just fine.
> 
> My "MonoApplications" line read as follows:
> 	MonoApplications    "/:/var/http"
> 
> After going through the mod_mono source I found that I could not tell
> mod-mono-server.exe what I wanted the "--root" parameter to be.
> NOTE: "mod-mono-server.exe --help" lists "MonoServerRootDir" as being a
> paramter that can be set in httpd.conf however mod_mono does not support it.
> 
> I went ahead and modified the source to allow "MonoServerRootDir" to be set
> in httpd.conf.  After that I was able to server ASP.NET pages for whole
> virtual host (e.g. http://www.somedomain.com/index.aspx).

Can you please send the file as an attachment and using diff -u?
Thanks in advance.

-Gonzalo





More information about the Mono-devel-list mailing list