Sunday, October 31, 2010

Configuring Virtual Directory for ASP.NET on Apache

Just add the necessary entry on /etc/apache2/httpd.conf:

Alias /test "/Users/Michael/Projects/TestAspNetMvc/TestAspNetMvc/"
<Directory "/Users/Michael/Projects/TestAspNetMvc/TestAspNetMvc/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None

    Order allow,deny
    Allow from all
AddMonoApplications default "/test:/Users/Michael/Projects/TestAspNetMvc/TestAspNetMvc/"
<Location /test>
 SetHandler mono

Using that example, you can browse your TestAspNetMvc on

The How-To Video:


  1. Thanks for the post!
    Can you tell me how you can enable the feature to work with the path on top of your finder window?

  2. I've been searching for days to run mono webapps on apache. I've also been looking for a tool like FinderPath. I wish I had found your blog sooner :-). Thanks a lot, and ... great work!

  3. hey man, Can you tell me if it's the same thing if I run mono web apps on ubuntu..??? thanks...