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

WBOY
发布: 2016-06-13 11:07:21
原创
728 人浏览过

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

相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!