[Mono-list] Problems with ModMono

Ngo HH (Hao) at Aera HNgo@aeraenergy.com
Tue, 10 Jun 2003 09:17:45 -0700


Im using Redhat 8.0
Apache 2.0.40
mono-0.24-2
mod_mono from CVS
 
Copied mod_mono.so and ModMono.dll to the appropriate dirs.
I added in my httpd.conf file the following:
 
LoadModule mono_module modules/mod_mono.so
MonoApplication /mono /home/hngo/xsp/server/test
 
When I try to go to http://127.0.0.1/mono <http://127.0.0.1/mono> 
I get the following Error:
 
Error in '/mono' Application
 
--------------------------------------------------------------------------------
 
Error
Description: Error processing request. 
Error Message: 
 
Stack Trace:
System.ArgumentOutOfRangeException: Argument is out of rangein <0x0004e> 00 System.String:Substring (int)
in <0x00047> 00 Apache.Web.Request:RemovePrefix (string,string)
in <0x00040> 00 Apache.Web.ApacheWorkerRequest:MapPath (string)
in <0x00098> 00 System.Web.HttpRequest:get_PhysicalPath ()
in <0x0016a> 00 .CreateHandlerState:Execute ()
in <0x0007f> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
 
 
If I run XSP server and go to http://127.0.0.1:8080/mono <http://127.0.0.1:8080/mono>  
the sample .aspx work correctly.
 
No errors in /var/log/httpd/error_log
 
Im assuming mono is installed correctly since the pages serve up with XSP.
Im assuming modmono is loading correctly because Im not getting errors in the error_log.
So Im guessing my problem is configuration. 
I chowned the required paths to apache.apache (/home/hngo/xsp/server/test and the .wapi directory)
 
This is frustrating.
Hao.