欧美精品亚洲精品日韩经典,午夜秒播,国产福利精品一区二区,亚洲国产成人精品久久,亚洲免费专区,国产精品国产三级国产a,日韩福利网站

龍巖易富通網(wǎng)絡(luò )科技有限公司

龍巖小程序開(kāi)發(fā),龍巖分銷(xiāo)系統

apache 本機多域名共用80端口 虛擬主機

2015.09.10 | 799閱讀 | 0條評論 | 未命名

提示: [Wed Jun 18 04:58:38 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence   解決: 確保有下面這行 NameVirtualHost *:80

<virtualhost *:80>
      ServerAdmin webmaster@somedomain.com
      DocumentRoot /srv/www/somedomain
      ServerName www.somedomain.com
      ServerAlias somedomain.com
   </virtualhost>
   <virtualhost *:80>
      ServerAdmin webmaster@elsedomain.com
      DocumentRoot /srv/www/elsedomain
      ServerName www.elsedomain.com
      ServerAlias elsedomain.com
   </virtualhost>
   <virtualhost *:80>
      ServerAdmin webmaster@otherdomain.com
      DocumentRoot /srv/www/otherdomain
      ServerName www.otherdomain.com
      ServerAlias otherdomain.com
   </virtualhost>
After this, I had to also put new statements into?/etc/hosts?:
127.0.0.1     www.somedomain.com
   127.0.0.1     somedomain.com
   127.0.0.1     www.elsedomain.com
   127.0.0.1     elsedomain.com
   127.0.0.1     www.otherdomain.com
   127.0.0.1     otherdomain.com

贊 (

發(fā)表評論