[分享] [ 轉貼 ]APACHE + ASP.NET
1.到微軟網站下載.Net framework sdk 2.0
Microsoft .NET Framework 2.0 軟體開發套件 (SDK) (x86)
2.到APACHE網站下載mod_aspdotnet外掛模組
mod_aspdotnet
3.在httpd.conf文件的最後加入以下文字
------------------------------------------------------------------------------------------------------------
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"
Options FollowSymlinks
Order allow,deny
Allow from all
AspNetMount /aspnet "C:/Apache/htdocs/aspnet"
Alias /aspnet "C:/Apache/htdocs/aspnet"
Options FollowSymlinks Indexes
AspNet files
Order allow,deny
Allow from all
DirectoryIndex default.htm default.aspx
------------------------------------------------------------------------------------------------------------
4.完成
我是使用APACHE 2.2.8 + mod_aspdotnet 2.2 測試結果成功。
[分享] [ 轉貼 ]APACHE + ASP.NET
沒有留言:
張貼留言