[Mono-list] Apache 1.3 Configuration

Darren Martz darren@shelbrook.com
Thu, 18 Nov 2004 23:09:06 -0800


Try adding permission settings first.

Also check if the apache user belongs to the aspnet group. I am not 100%
sure if that matters, but I *think* it does.  

-----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 5:47 PM
To: Darren Martz; jonepet@gmail.com; mono-list@lists.ximian.com
Subject: RE: [Mono-list] Apache 1.3 Configuration

Well, here are the values within my httpd.conf (Apache 1.3) related to
mod_mono:

LoadModule mono_module	libexec/apache/libmod_mono.so
AddModule mod_mono.c
Alias /demo "/usr/local/share/doc/xsp/test"
MonoApplications "/demo:/usr/local/share/doc/xsp/test"

<Directory /usr/local/share/doc/xsp/test>
	SetHandler mono
	<IfModule mod_dir.c>
		DirectoryIndex index.aspx
	</IfModule>
</Directory>



Is it possible I need to add a mime type or set permissions on the demo
directory?  And what would those settings need to be if that is the case?
Thanks for your responses.




-----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 5:03 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