El jue, 08-07-2004 a las 04:30, Patrick Stockton escribi�: > I am trying to get mod_mono and apache2 working on a Gentoo Linux box. I have been > programming C# & > ASP.NET for about 2 years and using Linux for over 6. I am brand new to Mono. > > I have unmasked the ebuilds for the mod_mono package and it complied and installed > just fine. > > I have modified my apache2.conf file to linclude the following: > AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
AddType is not needed since a while ago (are you using mod_mono/xsp 1.0?) > LoadModule mono_module modules/mod_mono.so > MonoUnixSocket /tmp/mod_mono_server > Alias /mono "/home/patrick/www.codejnki.com/dotnet/" > > I have changed to the directory I am trying to server pages from and run > this command: > mono /usr/bin/mod-mono-server.exe --root . --applications /mono:. > > After the mod-mono-server starts I > chmod 666 /tmp/mod_mono_server > chown apache:apache /tmp/mod_mono_server These 2 steps are not required if mod_mono/xsp/mono/mcs are installed under the same prefix. [...] > Server error in '/mono' application > Description: Error processing request. > > Error Message: HTTP 500. > > Stack Trace: > > System.NullReferenceException: Object reference not set to an instance of an > object > in <0x00049> System.Web.QueueManager:.ctor () > in <0x00077> System.Web.HttpRuntime:OnFirstRequestStart(System.Web.HttpContext) I've seen this once and the problem disappeared when i restarted mod-mono-server. What kernel version are you using? After this everything is messed up, so the other exception you got is 'normal'. -Gonzalo _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
