I'm trying mod_mono on apache 2.2.x running on the win7 box – adopted the steps described here.

The module loads Ok, however i can't run my ASP.internet application (404). Does anybody have suggestions or perhaps an example configuration that actually works? Thanks.

My working config:

<VirtualHost *:80>
    ServerAlias localhost
    DocumentRoot "c:\web\mysite"
    MonoServerPath mysite "c:\mono\usr\bin\mod-mono-server2.exe"
    MonoApplications mysite "/:c:\web\mysite"

    <Directory "c:\web\mysite">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
        MonoSetServerAlias mysite
        SetHandler mono
        DirectoryIndex default.aspx index.html
    </Directory>
</VirtualHost>

I discovered a great tutorial for you personally.

Example mono configuration:

MonoServerPath default /usr/bin/mod-mono_server2
Alias [D] “[P]”
AddMonoApplications default “[D]:[P]”
<Location [D]>
SetHandler mono
</Location>

Another example:

MonoServerPath default /usr/bin/mod-mono_server2
Alias /MySite “/srv/www/htdocs/MySite”
AddMonoApplications default “/MySite:/srv/www/htdocs/MySite”
<Location /MySite>
SetHandler mono
</Location>