rendered paste body/etc/apache2/mods-enabled/mod_mono.conf:
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
DirectoryIndex index.aspx
# Include the web application definitions generated by
# mono-server-update.conf. If you want to use XSP2, reverse the
# comments.
#Include /etc/mono-server/mono-server-hosts.conf
Include /etc/mono-server2/mono-server2-hosts.conf
/etc/mono-server2/mono-server2-hosts.conf:
# Default configuration, don't edit it!
<IfModule mod_mono.c>
MonoUnixSocket /tmp/.mod_mono_server2
MonoServerPath /usr/lib/xsp/2.0/mod-mono-server2.exe
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
MonoApplicationsConfigDir /etc/mono-server2
MonoPath /usr/lib/mono/2.0:/usr/lib:/usr/lib/mono/2.0
# start /etc/mono-server2/conf.d/asp.net2-examples/10_asp.net2-examples
Alias /samples "/usr/share/asp.net2-demos"
AddMonoApplications default "/samples:/usr/share/asp.net2-demos"
<Directory /usr/share/asp.net2-demos>
SetHandler mono
<IfModule mod_dir.c>
DirectoryIndex index.aspx
</IfModule>
</Directory>
# end /etc/mono-server2/conf.d/asp.net2-examples/10_asp.net2-examples
</IfModule>