看板FreeBSD
标 题Re: [问题] apache虚拟主机设定出问题
发信站I-Shou University BBS (Sun Sep 25 22:16:13 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!news.ee.ttu!news.n
※ 引述《[email protected] (porter)》之铭言:
> 我主机有两domain name
> 一个是www
> 另一个是web
> www指向/usr/local/www/data
> 但是只要虚拟主机设定/home/new给web时
> 变成连原本www的网页也都连向/home/new
> 弄了非常久 找不出问题 请各位高手帮我解惑
> 我VirtualHost设定如下
> NameVirtualHost 163.30.x.x
> <VirtualHost 163.30.x.x>
> ServerAdmin [email protected]
> DocumentRoot /home/new
> ServerName web.x.x.x
> ErrorLog /var/log/apache_virtual_error_log
> TransferLog /var/log/apache_virtual_access_log
> </VirtualHost>
NameVirtualHost 163.30.x.x
<VirtualHost web.x.x.x>
ServerAdmin
[email protected]
DocumentRoot /home/new
ServerName web.x.x.x
ErrorLog /var/log/apache_virtual_error_log
TransferLog /var/log/apache_virtual_access_log
</VirtualHost>
这样应该就OK
--
mSn:
snese1007@hotmail.com
注音文,实际上叫做分散式阻断中文攻击(Distributed Denial of Chinese)
定义: 攻击者利用某种发音符号参杂在文句之中,使其阅读困难,
称为阻断中文攻击(Denial of Chinese),简称 DoC。
--
┌╗┬─ Origin:《Ψ义守观山风情Ψ》<bbs.isu.edu.tw> ─┬╖╔╗
╚┘╙─ From : 127.0.0.1 ──────────╛└
╝╝