该死的技术,真不该做这行。该怎么解决
程序员文章站
2022-05-11 11:21:30
...
该死的技术,真不该做这行。
配个虚拟主机,但只有第一个生效。感觉也没错呀,一定是其实那个变量值没设对。该死的技术,快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 是随便个例子 还是?
配个虚拟主机,但只有第一个生效。感觉也没错呀,一定是其实那个变量值没设对。该死的技术,快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 是随便个例子 还是?
相关文章
相关视频