2011-04-18 71 views

回答

3

设置的配置文件的Apache如下:

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 

AliasMatch "^/(?i)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> 

AspNetVersion v4.0.30319 

AspNetMount /ASP "C:/ASP" 
Alias /ASP "C:/ASP" 
<Directory "C:/ASP"> 
    Options FollowSymlinks Indexes 
    AspNet files 
    Order allow,deny 
    Allow from all 
    DirectoryIndex index.html index.aspx default.htm default.aspx 
</Directory> 
+0

完美解决方案 – pedrofernandes 2013-12-12 17:09:50

相关问题