I installed mod_mono on an apache 2.2. The 70_mod_mono.conf allows to add -D MONO_DEMO to the APACHE2_OPTS and run the demo. But the default apache 2.2 configuration disallows access to files out of /var/www/localhost/htdocs. Therefore the 70_mod_mono.conf file needs the following 2 lines: Order allow,deny Allow from all in the <Directory /usr/lib/xsp/test> section. Reproducible: Always
Created attachment 125331 [details] mod_mono-access.patch Trivial patch to fix that issue.
But it's already there, take a closer look: <Directory /usr/lib/xsp/test> SetHandler mono MonoSetServerAlias testinst <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> <IfModule mod_dir.c> # Sample ASP.NET 1.1/2.0 applications can be accessed # via index2.aspx. DirectoryIndex index.aspx #DirectoryIndex index2.aspx </IfModule> </Directory>