需用到httpcfg(Windows Server2003自带),用于IIS的端口与IP绑定
下载地址:http://download.csdn.net/detail/wyhkgd/3442740
也可以在Windows Server 2003的CD下的 support/tools/Support.cab,解压出httpcfg.exe文件
使用条件:电脑有双网卡双IP,例如192.168.1.1,192.168.1.2
要使IIS用192.168.1.1的80端口,Apache使用192.168.1.2的80端口
使用方法:
查看绑定: httpcfg query iplisten
删除绑定: httpcfg delete iplisten -i 192.168.1.2
绑定到某IP: httpcfg set iplisten -i 192.168.1.1
这样就使IIS只使用192.168.1.1,然后在Apache里设置listen 192.168.1.2:80,这样就实现了IIS与Apache使用不同IP的80端口了。
IIS的访问地址为http://192.168.1.1,Apache访问地址为http://192.168.1.2
I am really loving the theme/design of your website.
Do you ever run into any browser compatibility problems?
A couple of my blog audience have complained about my site not
working correctly in Explorer but looks
great in Safari. Do you have any ideas to help fix this problem?