title: Setting up ModMono With Apache2
body: <p>I ended up attempting to setup ASP with ModMono on Apache2, via following this guide.</p>
  
  <p>It's not working, however: when I click a .aspx file, I end up just downloading it on my localhost.</p>
  
  <p>Here's my asp.webapp file /etc/mono-server2</p>
  
  <pre><code>&lt;apps&gt;
      &lt;web-application&gt;
          &lt;name&gt;asp&lt;/asp&gt;
          &lt;vpath&gt;/asp&lt;/vpath&gt;
          &lt;path&gt;/var/www/asp/&lt;/path&gt;
          &lt;vhost&gt;127.0.0.1&lt;/vhost&gt;
      &lt;/web-application&gt;
  &lt;/apps&gt;
  </code></pre>
  
  <p>and my asp file in /etc/apache2/sites-available/</p>
  
  <pre><code>&lt;Virtualhost 127.0.1.1:80&gt;
      ServerName asp
  
      DocumentRoot /var/www/asp/
  
      &lt;Directory /var/www/asp/&gt;
          Options Indexes FollowSymLinks MultiViews
          AllowOverride All
          Order allow, deny
          Allow from all 
          SetHandler mono
          DirectoryIndex index.aspx index.html
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Is there anything which I'm doing wrong here? The only issue I can think of is that I'm trying to reference a directory, rather than a specific page or file.</p>