该死的技术,真不该做这行。解决办法

WBOY
Release: 2016-06-13 11:07:21
Original
708 people have browsed it

该死的技术,真不该做这行。
配个虚拟主机,但只有第一个生效。感觉也没错呀,一定是其实那个变量值没设对。该死的技术,快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 是随便个例子 还是?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!