[Mono-list] Problems with ModMono

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


Im sorry - I should have clarified.

http://127.0.0.1/mono/index.aspx does generate the SAME error.
So no, that doesn't work for me.  Any other suggestions?
Thanks.
Hao.


-----Original Message-----
From: Daniel Lopez [mailto:daniel@rawbyte.com]
Sent: Tuesday, June 10, 2003 9:47 AM
To: Ngo HH (Hao) at Aera
Cc: 'mono-list@lists.ximian.com'
Subject: Re: [Mono-list] Problems with ModMono


Hi Ngo,

I will look into this
http://127.0.0.1/mono/index.aspx  should work in the mean time

On Tue, Jun 10, 2003 at 09:17:45AM -0700, Ngo HH (Hao) at Aera wrote:
> 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.
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list