打開你的httpd文檔用我下面的script 就可以支持.netframework 4.0 及asp ajax 了:
######################################################
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>
用IIS运行站点,但绑定到localhost:xxxx,然后apache绑定到外部ip的80端口,并通过反射代理对iis站点进行代理
现在不是流行linux+apache+asp.net(xsp是linux下的asp.net框架)+mysql