[Mono-list] Installing Mono on apache

Nuno Afonso hunchback@netcabo.pt
Wed, 04 Feb 2004 14:31:17 +0000


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