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. Let me know if any of this helps. -=Robert -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Santana Sent: Tuesday, August 24, 2004 11:34 AM To: Brown, Robert; [EMAIL PROTECTED]; [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> >To: Andre Ricardo ><[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> >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 >/etc/mono-server/mono-server-hosts.conf file into my >/etc/apache/httpd.conf file. I was told that you shouldn't have to do >this, since it should automatically be included. This has worked for me so far... > >-=Robert > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Andre Ricardo >Sent: Friday, August 20, 2004 9:39 AM >To: [EMAIL PROTECTED] >Subject: SPAM: RE: [Mono-list] Mod_Mono Help > > > > > >From: "Antonio Santana" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >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 > >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 > >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 - [EMAIL PROTECTED] >http://lists.ximian.com/mailman/listinfo/mono-list > >_______________________________________________ >Mono-list maillist - [EMAIL PROTECTED] >http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list