SPAM: RE: SPAM: RE: [Mono-list] Mod_Mono Help

Brown, Robert rbrown@plls.com
Tue, 24 Aug 2004 13:19:58 -0400


	This is what I pasted into my httpd.conf file.  It came from the
/etc/mono-server/mono-server-hosts.conf file.  If you don't have this
file you may be able to create it by running mono-server-admin.conf.
This is an executable script that came when I installed mono and
mod-mono on my server, it allows you to add and remove asp.net
applications to apache via the mono-server-hosts.conf file.  I suspect
if you didn't have one that running mono-server-admin.conf may create
one for you.

Here is what I had pasted into my httpd.conf file...

################################
####Begin Edit
################################

# Default configuration, don't edit it!
<IfModule mod_mono.c>
  MonoUnixSocket /tmp/.mod_mono_server
  MonoServerPath /usr/share/dotnet/bin/mod-mono-server.exe
  AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
.ascx
  MonoApplicationsConfigDir /etc/mono-server
  MonoPath /usr/share/dotnet/lib:/usr/lib:
# start /etc/mono-server/conf.d/defaultapp/10_defaultapp
     Alias /defaultapp "/var/www"
       <Directory /var/www>
         SetHandler mono
           <IfModule mod_dir.c>
              DirectoryIndex index.aspx
           </IfModule>
       </Directory>
# end /etc/mono-server/conf.d/defaultapp/10_defaultapp
</IfModule>

################################
####End Edit
################################


I forgot to mention that I am running mono on a Debian woody box.  I
installed the following packages:
mono
mono-apache-server

There were some other packages that were installed by apt (debians
installation program) in order to fufill some dependancies. =20

Let me know if any of this helps. =20

-=3DRobert

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Antonio Santana
Sent: Tuesday, August 24, 2004 11:34 AM
To: Brown, Robert; andcricardo@hotmail.com; mono-list@lists.ximian.com
Subject: SPAM: RE: SPAM: RE: [Mono-list] Mod_Mono Help

What I meant is maybe Robert can paste the lines that he added to his
httpd.conf file from his mono-server-hosts.conf file into this list so
we can see what he has.  Then we can compare what we have with what he
has and see if it works for us.

Thanks!

Antonio


>From: "Brown, Robert" <rbrown@plls.com>
>To: Andre Ricardo=20
><andcricardo@hotmail.com>,<mono-list@lists.ximian.com>
>Subject: RE: SPAM: RE: [Mono-list] Mod_Mono Help
>Date: Fri, 20 Aug 2004 13:46:47 -0400
>
>To get it to work I had to copy the contents of the=20
>/etc/mono-server/mono-server-hosts.conf file into my=20
>/etc/apache/httpd.conf file.  I was told that you shouldn't have to do=20
>this, since it should automatically be included.  This has worked for
me so far...
>
>-=3DRobert
>
>-----Original Message-----
>From: mono-list-admin@lists.ximian.com=20
>[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Andre Ricardo
>Sent: Friday, August 20, 2004 9:39 AM
>To: mono-list@lists.ximian.com
>Subject: SPAM: RE: [Mono-list] Mod_Mono Help
>
>
>
>
> >From: "Antonio Santana" <antjensavwork@hotmail.com>
> >To: mono-list@lists.ximian.com
> >Subject: [Mono-list] Mod_Mono Help
> >Date: Fri, 20 Aug 2004 08:06:36 -0500
> >
> >I have success with installing mod_mono and I have it tied into
Apache.
> >I have an Alias /demo pointing to the xsp/test folder that came with=20
> >mono.  I go to my browser and try accessing my alias by doing the
>following:
> >http://127.0.0.1/demo/index.aspx The index.aspx page is returned, but

> >is displayed in code form and not Rendered HTML.  I'm sure I am=20
> >missing some sort of setting in the httpd.conf.  I hope someone can
help.
> >
> >Thanks!
> >
> >Antonio
> >
>
>Hello everybody,
>
>I also have this same problem. someone can help us?
>
>Many Thanks
>
>Andre Ricardo
>
>_________________________________________________________________
>MSN Messenger: converse com os seus amigos online.
>http://messenger.msn.com.br
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com=20
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com=20
>http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list