[Mono-list] mod_mono problem

Pedro Sobota pedro at sobota.net
Thu Dec 28 13:58:14 EST 2006


Hi,

After much debugging, my configuration still yields 503 Internal Server
Error, only now no errors come up on the Apache error logs. If I comment
the AddMonoApplications directive, the pages show but I guess they then
don't go thru Mono as they are served as HTML. Applying the directive, I
get 503. Is there something wrong with my configuration?

Thanks,

Pedro

=================================
My mod_mono.conf:
=================================

<IfModule mod_mono.c>
MonoServerPath /usr/bin/mod-mono-server
MonoExecutablePath /usr/bin/mono

    LoadModule mono_module /etc/httpd/modules/mod_mono.so

    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 .dll
#    DirectoryIndex Home.aspx
#    DirectoryIndex Default.aspx
#    DirectoryIndex default.aspx
</IfModule>

=================================
And my httpd.include:
=================================

Include mod_mono.conf

<VirtualHost 66.98.226.49:80>
        ServerName   [domain]:80
        ServerAlias  [domain]
        ServerAdmin  pedro at sobota.net
        AddMonoApplications app "/:/var/www/vhosts/[domain]/httpdocs"
        DocumentRoot /var/www/vhosts/[domain]/httpdocs
        <Directory /var/www/vhosts/[domain]/httpdocs>
                SetHandler mono
                Options -Includes +ExecCGI Indexes
        </Directory>
</VirtualHost>


More information about the Mono-list mailing list