[Mono-list] Problems with ModMono

'Daniel Lopez' daniel@rawbyte.com
Tue, 10 Jun 2003 10:49:57 -0700


Hi Ngo,

Support for that is planned, but not yet implemented. It is straightforward
to do, if anyone wants to take a stab at it I can help them.
For now your best bet may be to set up different apache instances and do
reverse proxy to them

On Tue, Jun 10, 2003 at 10:03:04AM -0700, Ngo HH (Hao) at Aera wrote:
> Woohooo!!!!!!!!!!!!!
> Yes - You guessed it!  It works!
> You guys are so quick and great!
> 
> Since you guys are so great, one more question please?
> I know, Im greedy.
> 
> Can I using Apache's virtual hosting to host multiple domains and have each domain serve up its own separate /mono pages?
> 
> I only have one IP, but three domains are already pointing to this IP.
> 
> I would like each domain to have its own /mono space
> http://domaina1.com/mono/index.asp
> http://domainb2.com/mono/index.asp
> http://domainc3.com/mono/index.asp
> 
> Thanks again so much!
> 
> -----Original Message-----
> From: Jonathan Stowe [mailto:gellyfish@gellyfish.com]
> Sent: Tuesday, June 10, 2003 9:50 AM
> To: Ngo HH (Hao) at Aera
> Cc: 'Daniel Lopez'; 'mono-list@lists.ximian.com'
> Subject: RE: [Mono-list] Problems with ModMono
> 
> 
> 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
>                                     |