該死的技術,真不該做這行。解決辦法
來源:互聯網
上載者:User
該死的技術,真不該做這行。
配個虛擬機器主機,但只有第一個生效。感覺也沒錯呀,一定是其實那個變數值沒設對。該死的技術,快TM氣吐血了。
ServerAdmin [email protected]
DocumentRoot "/var/www/sns/"
ServerName www.a.com
AddDefaultCharset UTF-8
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" common1
ErrorLog "/var/httpd/log/jicheke-error_log"
CustomLog "|/usr/sbin/rotatelogs /var/httpd/log/jicheke-access_%Y%m%d.log 86400" common1
AllowOverride All
Order Deny,Allow
Deny from all
Allow from all
DirectoryIndex index.php index.html
RewriteEngine On
ServerAdmin [email protected]
DocumentRoot "/var/www/jianping/"
ServerName www.b.www
AddDefaultCharset UTF-8
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" common1
ErrorLog "/var/httpd/log/pingzi-error_log"
CustomLog "|/usr/sbin/rotatelogs /var/httpd/log/pingzi-access_%Y%m%d.log 86400" common1
AllowOverride All
Order Deny,Allow
Deny from all
Allow from all
DirectoryIndex index.php index.html
RewriteEngine On
------解決方案--------------------
ping 不行的網址 看有解析到那台伺服器上了沒
沒配置過 但
ServerName www.b.www 是隨便個例子 還是?