該死的技術,真不該做這行。解決辦法

來源:互聯網
上載者: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 是隨便個例子 還是?
  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.