Hello Igor, this is how I use Mono as a webserver:
I use fastcgi-mono-server4 here is the start part of the script: https://github.com/openpetra/openpetra/blob/master/setup/petra0300/linuxserver/postgresql/centos/openpetraorg-server.sh#L55 Configuration of lighttpd for fastcgi: https://github.com/openpetra/openpetra/blob/master/setup/petra0300/linuxserver/postgresql/centos/openpetraorg-server.sh#L200 fastcgi-mono-server4 is provided by the XSP package. I have built it from tag https://github.com/mono/xsp/releases/tag/3.0.11: https://build.opensuse.org/package/show/home:tpokorra:mono/mono-xsp to install this package: http://software.opensuse.org/download.html?project=home%3Atpokorra%3Amono&package=mono-xsp-opt As far as I understand, fastcgi-mono-server4 is ready for production use. My production use is not much heavy load yet, but works ok so far. hope this helps, Timotheus On 13 January 2015 at 18:52, Igor Shmukler <[email protected]> wrote: > Hello, > > After spending much time trying to figure out how to get apache2 > properly host my ASP.NET "project," I decided to slightly change > hunting grounds. > > I believe that sites, including the Mono project itself, have been > developed using ASP.NET and hosted on apache+mono. Hence, this should > be doable. All I want is to load some classes from a few assemblies. > > If you have gotten ASP.NET to host on apache2 [not XSP], please let me > know what versions of > mono_apache_server/mono_apache_server2/mono_apache_server4 and mono > have you used. > > I was pretty sure that my issues are purely configuration-related. By > now, I am starting to have doubts. I have tried various > configurations. Whether autohosting or with manually configured site, > I get at best a TypeLoadException and a stack trace with missing line > numbers. The apache log has nothing useful. > > Please provide insights, if you happen to know how to trace > TypeLoadException. I posted about this earlier. Sorry to be bothering > the good folks on this list. I have hit the wall and was unable to > move ahead for the second day. now. Please help, if you have > successfully solved this at some point. I see this error referenced in > multiple forums. > > Sincerely, > > Igor Shmukler > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list -- Kontaktdaten: in Plauen: 03741 7424995 _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
