[Mono-aspnet-list] Problems getting Mod-Mono and Apache working together

Wardell Castles wardellcastles at yahoo.com
Fri Jul 5 00:42:34 UTC 2013


When I try to access an aspx page on Apache on Soft-Float Debian Wheezy, the page simply downloads and does not display.   A normal html file is displayed properly.  Apache is working.



I think I have mono-mod installed correctly as a copy of the page works fine on xsp2.

In my /etc/apache2/apache2.conf   , there are these lines
Include mods-enabled/*.load
Include mods-enabled/*.conf

In the/etc/apache2/mods-enabled folder, there are links to mod_mono.conf and mod_mono.load


This is my mod_mono.conf file.
AddType application/x-asp-net  .aspx  .ashx  .asmx  .ascx .asax .ascx
DirectoryIndex index.aspx
# Comments
Include /etc/mono-server4/mono-server4-hosts.conf

This is my mod_mono.load file
LoadModule mono_module /usr/lib/apache2/modules/mod_mono.so

It seems to me that Apache is not recognizing ASPX files and handing them off to mod-mono.

Any ideas as to where the disconnect is happening between Apache and mono-mod?

P.S. I've tried the Apache support but was quickly informed they don't support other software.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20130704/5066398b/attachment.html>


More information about the Mono-aspnet-list mailing list