[Mono-list] Installing Mono on apache

Jim Erwin mono@eyekahn.com
Thu, 05 Feb 2004 08:35:55 -0600


Some more specific information, such as which version of mono and
mod_mono you've compiled, how you've got it configured, what distro
you're using, was apache installed by your distro or did you compile
from source, how you specifically configured apache for mod_mono, your
command line when staring mod-mono-server.exe, etc.... would make it
easier to assist you with this issue. Do you think you could supply more



On Wed, 2004-02-04 at 08:31, Nuno Afonso wrote:
> Hi,
> I've just started playing with c# and Mono, and I wanted to add it's
> functionality on apache. I did everything on the install files and when
> I try to test mod_mono I get:
> <snip>
> Server error in '/mono' application
> ________________________________________________________________________
> Description: Error processing request. 
> Error Message: HTTP 500. 
> Stack Trace: 
> System.TypeLoadException: Cannot load type 'Mono.Http.AcceptEncodingModule, Mono.Http'
> in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x1f) [0x400998df]
> in (unmanaged) /usr/lib/libmono.so.0 [0x4009cc5d]
> in <0x0005b> System.Type:GetType (string,bool)
> in <0x0002c> System.Web.Configuration.ModuleItem:.ctor (string,string)
> in <0x00322> System.Web.Configuration.HttpModulesConfigurationHandler:Create (object,object,System.Xml.XmlNode)
> in <0x00159> System.Web.Configuration.ConfigurationData:GetConfigInternal (string,System.Web.HttpContext,bool)
> in <0x0009e> System.Web.Configuration.ConfigurationData:GetConfigOptLocation (string,System.Web.HttpContext,bool)
> in <0x00323> System.Web.Configuration.ConfigurationData:GetConfig (string,System.Web.HttpContext)
> in <0x0008b> System.Web.Configuration.WebDefaultConfig:GetConfig (string,System.Web.HttpContext)
> in <0x00030> System.Web.Configuration.WebDefaultConfig:GetConfig (string)
> in <0x00018> System.Web.Configuration.WebConfigurationSettings:GetConfig (string)
> in <0x0000d> System.Web.HttpContext:GetAppConfig (string)
> in <0x00025> System.Web.HttpApplication:InitModules ()
> in <0x0005b> System.Web.HttpApplication:Startup (System.Web.HttpContext,System.Web.HttpApplicationState)
> in <0x0007e> System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext)
> in <0x0009e> System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)
> in <0x0012d> System.Web.HttpRuntime:InternalExecuteRequest (System.Web.HttpWorkerRequest)
> </snip>
> Can anyone help me?
> Thanks for your time,
> Nuno Afonso
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
Jim Erwin <mono@eyekahn.com>