国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 操作系統(tǒng) > 正文

the first has precedence, perhaps you need a NameVirtualHost directive

2024-06-28 13:26:43
字體:
供稿:網(wǎng)友
the first has PRecedence, perhaps you need a NameVirtualHost directive

報(bào)錯(cuò)信息1:

Starting httpd: [Fri May 19 11:49:42 2011] [warn] VirtualHost 127.0.0.1:80 overlaps with VirtualHost 127.0.0.1:80, the first has precedence, perhaps you need aNameVirtualHost directive

這個(gè)說明虛擬主機(jī)的NAME沒開,NameVirtualHost 就是他沒開,如下就可以了

#加上這里就好了~~,之后就可加任意多的virtual host了

NameVirtualHost 192.168.8.37:80## NOTE: NameVirtualHost cannot be used without a port specifier# (e.g. :80) if mod_ssl is being used, due to the nature of the# SSL protocol.#

## VirtualHost example:# Almost any Apache directive may go into a VirtualHost container.# The first VirtualHost section is used for requests without a known# server name.##<VirtualHost *:80># ServerAdmin webmaster@dummy-host.example.com# DocumentRoot /www/docs/dummy-host.example.com# ServerName dummy-host.example.com# ErrorLog logs/dummy-host.example.com-error_log# CustomLog logs/dummy-host.example.com-access_log common#/VirtualHost>

<VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot /var/www/html ServerName dummy-host.example.com ErrorLog logs/dummy-host.example.com-error_log CustomLog logs/dummy-host.example.com-access_log common</VirtualHost>

<VirtualHost 192.168.8.37:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot /var/www/html ServerName XXX.com ErrorLog logs/dummy-host.example.com-error_log CustomLog logs/dummy-host.example.com-access_log common</VirtualHost>


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 聂荣县| 华宁县| 宣武区| 集安市| 峨边| 隆回县| 宣城市| 彰武县| 涞水县| 茌平县| 靖宇县| 凌源市| 沂源县| 遵义市| SHOW| 拜泉县| 浮梁县| 华坪县| 东丽区| 古蔺县| 朔州市| 吉首市| 兴海县| 嫩江县| 鄂伦春自治旗| 汉川市| 沙湾县| 苍梧县| 洛浦县| 日照市| 大姚县| 嘉黎县| 凤凰县| 耒阳市| 兴山县| 澳门| 庆安县| 阳高县| 嵊泗县| 五台县| 永清县|