Showing posts with label Apache. Show all posts
Showing posts with label Apache. Show all posts

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
</Directory>
AddMonoApplications default "/test:/Users/Michael/Projects/TestAspNetMvc/TestAspNetMvc/"
<Location /test>
 SetHandler mono
</Location>

Using that example, you can browse your TestAspNetMvc on http://127.0.0.1/test



The How-To Video: