Apache设置基于端口的虚拟主机的问题 http://10.2.0.100:90/index.htm打错了,是http://10.2.0.241:90/index.htm 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 searching HOSTS file, please add90.linuxtest.com 10.2.0.241then run:http://90.linuxtest.com:90/index.htm 配置文件 httpd.conf有如下设置没?(这个要设置一下的)<Directory "/usr/website/90"> Order allow,deny Allow from all</Directory>。 我这样重新设置了一下:APACHE的配置文件:Listen 90<Directory "/usr/website/hua"> Order allow,deny Allow from all</Directory><VirtualHost 10.2.0.241:90> DocumentRoot /usr/website/hua ServerName 90.linuxtest.com</VirtualHost>然后在WINDOWS中的HOST文件中增加了:90.linuxtest.com 10.2.0.241在IE中访问:http://90.linuxtest.com:90/index.htm结果:找不到网页还是不行,郁闷,为什么啊? /usr/website/hua/下有 index.html吗? 改成 Listen 10.2.0.241:90可以了,谢谢。 osCommerce换服务器要如何配置呢 httpd.exe-应用程序错误 关于上传 免费发布网站代码 同时散分 PHP无法向mysql插入数据 高分求救:php&mysql在linux中执行 "php -q ***.php"出错 高手帮忙看看这个正则该如何写才行? 谁用过php nuke 7.5 安装问题 日期格式的0000-00-00这样的变量是否为空? 可变变量 可变名字 字符串截取的问题,请教大家!急!!! 请问各位高手:“魔术引用”功能在哪里打开,怎么设置?
90.linuxtest.com 10.2.0.241then run:
http://90.linuxtest.com:90/index.htm
<Directory "/usr/website/90">
Order allow,deny
Allow from all
</Directory>
。
APACHE的配置文件:Listen 90<Directory "/usr/website/hua">
Order allow,deny
Allow from all
</Directory>
<VirtualHost 10.2.0.241:90>
DocumentRoot /usr/website/hua
ServerName 90.linuxtest.com
</VirtualHost>然后在WINDOWS中的HOST文件中增加了:
90.linuxtest.com 10.2.0.241在IE中访问:
http://90.linuxtest.com:90/index.htm结果:
找不到网页还是不行,郁闷,为什么啊?