#---this section handles asp.net configurations
#aspnet module installation
#asp.net
LoadModule aspdotnet_module "modules/mod_aspdotnet.so"
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem
resources resx soap vb vbproj vsdisco webinfo
<IfModule mod_aspdotnet.cpp>
# Mount the ASP.NET /asp application
AspNetMount /my_aspnet "c:/my_aspnet"
#/my_aspnet is the alias name for asp.net to execute
#"c:/my_aspnet" is the actual execution of files/folders in that location
# Map all requests for /asp to the application files
Alias /my_aspnet "c:/my_aspnet"
#maps /my_aspnet request to "c:/my_aspnet"
#now to get to the /my_aspnet type http://localhost/my_aspnet
#It'll redirect http://localhost/my_aspnet to "c:/my_aspnet"
# Allow asp.net scripts to be executed in the /my_aspnet example
<Directory "c:/my_aspnet">
Options FollowSymlinks ExecCGI
Order allow,deny
Allow from all
DirectoryIndex index.htm index.aspx
#default the index page to .htm and .aspx
</Directory>
# For all virtual ASP.NET webs, we need the aspnet_client files
# to serve the client-side helper scripts.
AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*)
"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
<Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
Options FollowSymlinks
Order allow,deny
Allow from all
</Directory>
</IfModule>
#asp.net