复制代码 代码如下:
#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
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>
#上面的代码保持默认就好了,下面需要根据你的实际情况作对应的修改。
#MyWeb是逻辑路径,而后面双引号中是你Web文件所在的物理路径。
AspNetMount /MyWeb "E:/WebPage/Release"
Alias /MyWeb "E:/WebPage/Release"
<Directory "E:/WebPage/Release">
Options FollowSymlinks Indexes
AspNet files
Order allow,deny
Allow from all
DirectoryIndex Index.aspx default.htm default.aspx
</Directory>
#asp.net
新闻热点
疑难解答