[Mono-bugs] [Bug 403589] New: mod_mono.conf problem: pages rendered as plain text if < IfModule !mod_mono.c> is used

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 25 03:29:39 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=403589


           Summary: mod_mono.conf problem: pages rendered as plain text if
                    <IfModule !mod_mono.c> is used
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: i686
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: michele.casetta at satt.biz
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Description of Problem:

System: opensuse 10.3 + mono 1.9.1 + apache 2.2.4
Problem: ASP.NET 2.0 pages are rendered as plain text using the following
mod_mono.conf:

<IfModule !mod_mono.c>
    LoadModule mono_module /usr/lib/apache2/mod_mono.so
    MonoServerPath /usr/bin/mod-mono-server2

    AddType application/x-asp-net .aspx
    AddType application/x-asp-net .asmx
    AddType application/x-asp-net .ashx
    AddType application/x-asp-net .asax
    AddType application/x-asp-net .ascx
    AddType application/x-asp-net .soap
    AddType application/x-asp-net .rem
    AddType application/x-asp-net .axd
    AddType application/x-asp-net .cs
    AddType application/x-asp-net .config
    AddType application/x-asp-net .Config
    AddType application/x-asp-net .dll
    DirectoryIndex index.aspx
    DirectoryIndex Default.aspx
    DirectoryIndex default.aspx
</IfModule>

In order to have aspx pages correctly rendered, I have to comment out IfModule
directive:

#<IfModule !mod_mono.c>
    ...
#</IfModule>

mod_mono now works, but restarting Apache gives this warning:
[warn] module mono_module is already loaded, skipping


How often does this happen? 
Always


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list