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可以了,谢谢。 php中使用ajax时ResponseText返回undefined 关于搜索日期显示的问题 dede哪个PHP文件控制article_article.htm 生成的内容啊 数据行加锁的解决方案 怎样用PHP画个柜形? 请教:IIS和Apache能否同时使用! PHP如何结合UBB代码? Apache服务器配置问题 柱状图问题 如何算出文章发布日期(已知)和当前日期的天数差距? 字符串截取的问题,请教大家!急!!! 请问各位高手:“魔术引用”功能在哪里打开,怎么设置?
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结果:
找不到网页还是不行,郁闷,为什么啊?