apache虛擬主機設定出問題 - BBS
By Steve
at 2005-09-25T21:32
at 2005-09-25T21:32
Table of Contents
我主機有兩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>
--
一個是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>
--
Tags:
BBS
All Comments
Related Posts
這是怎麼呢?
By Margaret
at 2005-09-25T18:37
at 2005-09-25T18:37
Re: Pure-ftp 的紀錄檔,中文部分是亂碼~
By Lauren
at 2005-09-25T16:57
at 2005-09-25T16:57
ftp抓下來的影片無法播放
By Ursula
at 2005-09-24T22:14
at 2005-09-24T22:14
linux compatible??
By Eartha
at 2005-09-24T17:38
at 2005-09-24T17:38
linux compatible??
By Sandy
at 2005-09-24T17:29
at 2005-09-24T17:29