iis终于激怒我了
其实ms的东西满不错的 只不过健壮性不是很好
我终于把iss删除了 欢乐 apache
删除iis最不舍得就是 asp.net 毕竟这个东西可以和tomcat拼下
vs的虚拟调试机也不错 但是能让apache运.net就更加完美了
网上找了一些资料 唉 国人好像都没有认真看 就贴上了
aspdotnet现在的地址是 http://mod-aspdotnet.sourceforge.net
说明书在 http://mod-aspdotnet.sourceforge.net/mod_aspdotnet.html#aspnetmount
可以找到
Provide individual AspNet and AspNetMount directives for each application (containing a unique web.config file at it’s application root.)
这句话要认真看 开始没注意
那就这么写
AspNetMount / “wwwroot目录”
Alias / “wwwroot目录”
<Directory “wwwroot目录”>
Options FollowSymlinks Indexes
AspNet files
Order allow,deny
Allow from all
DirectoryIndex default.htm default.aspx
</Directory>
这样就可以了
实测 感觉效果不错 原来的程序都能跑了
但是好像有bug 我测试一个3.5的程序 cpu满载了 而且……我的计算机 不停的叫
这么热的天 cpu满载可太费电了
不过避开了 总比每天看iis出错强