Hi!

I have a problem with MonoAutoApplication when using mod_mono 1.2. Here
is my config file (nothing special in there):

<IfModule !mod_mono.c>
    LoadModule mono_module /var/www/modules/mod_mono.so

    MonoAutoApplication Enabled

    Alias /test "/usr/lib/xsp/test"
    AddMonoApplications default "/test:/usr/lib/xsp/test"
    <Directory /usr/lib/xsp/test>
        SetHandler mono
    </Directory>

    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>

I have some simple applications deployed in http://localhost/Sample1
Sample2 and Sample3. With above configuration, when I access all sample
apps work flawlessly. The test app obviously works as well. However,
when I remove those lines from the config file:

    Alias /test "/usr/lib/xsp/test"
    AddMonoApplications default "/test:/usr/lib/xsp/test"
    <Directory /usr/lib/xsp/test>
        SetHandler mono
    </Directory>

leaving "MonoAutoApplication Enabled", none of the sample applications
work. Everything I get is an apache's Internal Server Error. It seems
that in this case AutoHosting is disabled despite the settings.

Or am I doing something wrong here?

Mono, libgdiplus and mod_mono version is 1.2, xsp version is 1.1.18.

Best regards,
Jurek 'Koxta' Bartuszek
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to