国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 咸阳市| 湟中县| 萨嘎县| 桂阳县| 朝阳区| 广德县| 高要市| 晴隆县| 卢湾区| 抚顺市| 崇信县| 耿马| 米林县| 古交市| 双鸭山市| 卫辉市| 松溪县| 星座| 那曲县| 射洪县| 安阳市| 香河县| 曲水县| 贵州省| 通化县| 神木县| 旬阳县| 商南县| 张家界市| 北票市| 阜南县| 济阳县| 新龙县| 福泉市| 炎陵县| 治县。| 合川市| 龙江县| 罗定市| 西充县| 确山县|