[Mono-list] Problems with ModMono

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


When I specifiy http://127.0.0.1/mono/index.aspx I get a different error:

Error in '/mono' Application

--------------------------------------------------------------------------------

Error
Description: Error processing request. 
Error Message: 

Stack Trace: 
System.IO.DirectoryNotFoundException: Directory '/home/hngo/xsp/server/test' not found.
in <0x001ab> 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding,bool,int)
in <0x0001d> 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding)
in <0x00047> 00 System.Web.Compilation.AspGenerator:InitParser (string)
in <0x0004d> 00 System.Web.Compilation.AspGenerator:GetCompiledType ()
in <0x0003e> 00 System.Web.UI.PageParser:CompileIntoType ()
in <0x00075> 00 System.Web.UI.TemplateControlParser:GetCompiledInstance (string,string,System.Web.HttpContext)
in <0x0004e> 00 System.Web.UI.PageParser:GetCompiledPageInstance (string,string,System.Web.HttpContext)
in <0x00013> 00 System.Web.UI.PageHandlerFactory:GetHandler (System.Web.HttpContext,string,string,string)
in <0x001bb> 00 System.Web.HttpApplication:CreateHttpHandler (System.Web.HttpContext,string,string,string)
in <0x001a6> 00 .CreateHandlerState:Execute ()in <0x0007f> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
 
thanks.
Hao.

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


On Tue, 10 Jun 2003, 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
>

I found this too.  You need to specify the actual file as well so the URL
should be:

     http://127.0.0.1/mono/indesx.aspx


I think.  Looks like any easy thing to fix I just haven't got round to
making the patch yet.

/J\
-- 
Jonathan Stowe                      |
<http://www.gellyfish.com>          |      This space for rent
                                    |