[Mono-list] Apache 1.3 Configuration

Tom McLaughlin tmclaugh@sdf.lonestar.org
Fri, 19 Nov 2004 18:39:35 -0500


On Fri, 2004-11-19 at 00:05 -0600, Gary Mack wrote:
> I changed to Apache 2.0 and am seeming to have somewhat better results
>  
> 
> Forbidden
> 
> 
> You don't have permission to access /aspnet on this server.
> 
> ________________________________
> 
> Apache/2.0.52 (FreeBSD) mod_mono/1.0 Server at www.cstarcards.com Port 80
>  
> 
> 
> How can I resolve this?
>  
> 
> 
> Gary

I haven't been able to get XSP/mod-mono to work on FreeBSD either.  The
error you are getting might be because bin/mono has crashed when XSP
tried to serve up a page.  It does that evey time on FreeBSD.  Instead
of testing with Apache, remove that from the equation and fire up xsp
and connect to 8080 and serve up a page, you will see the crash.

I don't know what versions you are using but if you want, I keep the
latest Mono related ports located here:

http://forge.novell.com/modules/xfmod/project/?bsd-sharp

Download mono-merge.tar.gz and run the shell script.  It will merge the
project's ports tree with yours.  I have Mono 1.0.4 and 1.1.2 available
along with the latest XSP and mod_mono.  You might try running XSP with
the Mono 1.1.2 port (lang/mono-devel) and see if that gives any better
results.  I know some issues were found with XSP on MacOSX which may
affect FreeBSD as well.  Also make sure you are running at least FreeBSD
5.3 since Mono is unuseable on 4.x.  

Please let me know if you have any better luck.  I haven't bothered much
with XSP.  I'm still learning all this myself so I don't even know where
to start with XSP's problems.  Thanks.

Tom

> 
> ________________________________
> 
> From: mono-list-admin@lists.ximian.com on behalf of Darren Martz
> Sent: Thu 11/18/2004 5:02 PM
> To: Gary Mack; jonepet@gmail.com; mono-list@lists.ximian.com
> Subject: RE: [Mono-list] Apache 1.3 Configuration
> 
> 
> 
> Well, that wasn't it. It's a bunch of temp files for emulating windows file
> access or something like that, so it gets recreated each time it runs.
> 
> I would post clips of your config file (only mono related stuff).
> 
> Hmm... If its creating the /tmp/.wapi folder after you delete it, that seems
> like mod-mono-server.exe is at least starting.
> 
> -----Original Message-----
> From: mono-list-admin@lists.ximian.com
> [mailto:mono-list-admin@lists.ximian.com] On Behalf Of Gary Mack
> Sent: Thursday, November 18, 2004 2:40 PM
> To: Darren Martz; jonepet@gmail.com; mono-list@lists.ximian.com
> Subject: RE: [Mono-list] Apache 1.3 Configuration
> 
> I tried the command, but it seems that folder doesn't get deleted.  It
> deletes but then when I hit the demo page again, I get the same error and
> the .wapi folder is back.  Any ideas?
> 
> 
> 
> -----Original Message-----
> From: mono-list-admin@lists.ximian.com
> [mailto:mono-list-admin@lists.ximian.com] On Behalf Of Darren Martz
> Sent: Thursday, November 18, 2004 1:21 PM
> To: jonepet@gmail.com; mono-list@lists.ximian.com
> Subject: RE: [Mono-list] Apache 1.3 Configuration
> 
> Just ran into the same issue. Try the following...
> 
> # rm -Rf /tmp/.wapi
> 
> FYI: A how-to/faq is being written that will cover topics like this.
> 
> -----Original Message-----
> From: mono-list-admin@lists.ximian.com
> [mailto:mono-list-admin@lists.ximian.com] On Behalf Of Jon-Eirik Pettersen
> Sent: Thursday, November 18, 2004 10:42 AM
> To: mono-list@lists.ximian.com
> Subject: Re: [Mono-list] Apache 1.3 Configuration
> 
> Gary Mack wrote:
> 
> >  Apache 1.3 Configuration
> >
> >  Hi all,
> >
> >  I am excited to learn about the Mono Project and develop
> > cross-platform ASP.Net applications. I have installed mono
> > successfully, XSP, Apache 1.3 and mod_mono. All the files are in their
> > default locations. And I have edited the httpd.conf file, but
> > /tmp/mod-mono-server.exe does not get launched when Apache starts.
> >  Apache is started successfully and I get an error when hitting the
> > demo page:
> >
> >  *Service Temporarily Unavailable*
> >
> >  *The server is temporarily unable to service your request due to
> > maintenance downtime or capacity problems. Please try again later. *
> >
> >  *________________________________________*
> >
> >  *Apache/1.3.33 Server at hellmouth.toythieves.com Port 80*
> >
> >  I must have missed some configuration lines or not putting something
> 
> > in the correct place within Apache's configuration. I also took a look
> > and no processes relating to mono seem to be starting. Please help. I
> > really want to see this in action. If anyone wants, I can post my
> > httpd.conf. Thanks in advance.
> >
> 
> Have you checked the Apache error log?
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
-- 

BSD# Project - Porting Mono to FreeBSD
http://forge.novell.com/modules/xfmod/project/?bsd-sharp