[Mono-list] Problems with ModMono

Jonathan Stowe gellyfish@gellyfish.com
Tue, 10 Jun 2003 17:49:58 +0100 (BST)


On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:

> Yes - it and its parent is owned by apache.apache
> and I chmod 755
>
> so from /home/hngo
> I chown -R apache.apache xsp
> I chmod -R 755 xsp
>

On a Red Hat machine it is unlikely that the http process will have access
to /home/hngo unless you have changed that (and I wouldn't recommend you
did).  I would suggest moving the xsp/test directory and its contents to
somewhere in the apache directory and adjusting its permissions
appropriately.

/J\
> thanks for your help!
> Hao.
>
> -----Original Message-----
> From: 'Daniel Lopez' [mailto:daniel@rawbyte.com]
> Sent: Tuesday, June 10, 2003 9:59 AM
> To: Ngo HH (Hao) at Aera
> Cc: 'Jonathan Stowe'; 'mono-list@lists.ximian.com'
> Subject: Re: [Mono-list] Problems with ModMono
>
>
>
> Does the directory
> /home/hngo/xsp/server/test
>
> exist? Which permissions does it have that directory and its parent directories?
>
> Cheers
>
> Daniel
>
> On Tue, Jun 10, 2003 at 09:37:37AM -0700, Ngo HH (Hao) at Aera wrote:
> > 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
> >                                     |
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>

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