问题描述:本地页面错误,+1上正常


本地及+1apache配置
<VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "E:/html/pim/php_aspire-www/heonline/webroot" ServerName www.cytxl.com.cn # ServerAlias www.dummy-host.example.com ErrorLog F:/data/apache/logs/localhost.www.cytxl.com.cn-error.log CustomLog F:/data/apache/logs/localhost.www.cytxl.com.cn-access.log common </VirtualHost>
<VirtualHost 192.168.19.32:443> ServerName txl.cytxl.com.cn SetEnv SERVER_ENVERONMENT_PARAM 2 DocumentRoot /home/d139/var/www/sns/domain/hetxl/webroot/ DirectoryIndex index.php CustomLog "| /usr/sbin/cronolog /home/d139/logs/https/access/%Y-%m-%d-%H-txl_ssl_access.log" combined ErrorLog "| /usr/sbin/cronolog /home/d139/logs/https/access/%Y-%m-%d-%H-txl_ssl_error.log" # ProxyPassMatch ^/ddsDemo/weekly/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9007/home/d139/var/www/sns/domain/hetxl/webroot/ddsDemo/weekly/$1 SSLProxyEngine on ProxyPass /mojing https://openapi1.cytxl.com.cn/mojing ProxyPassReverse /mojing https://openapi1.cytxl.com.cn/mojing ProxyPass /h5/magic-cube https://openapi1.cytxl.com.cn/h5/magic-cube ProxyPassReverse /h5/magic-cube https://openapi1.cytxl.com.cn/h5/magic-cube RewriteEngine On RewriteRule ^/openapi/(.*?)$ http://www.cmpassport.com/openapi/$1 [QSA,L] RewriteRule ^/wap/activities/zhuhaijiatingwang\.php(.*)$ /wap/plugs/jiatingwang.php [QSA] RewriteRule ^/ajax/([^/]+)/([^/\.]+)\.([^/]+)/([^/]+)(/(.+))?$ /ajax/$2/$3.php?resp_type=$1&act=$4&$6 [QSA,L,NE,PT] RewriteRule ^/ajax/([^/]+)/([^/]+)/([^/]+)(/(.+))?$ /ajax/$2.php?resp_type=$1&act=$3&$5 [QSA,L,NE,PT] RewriteRule /combo/__[^/]+/([^?]*)$ /lib/combo.apache.php?$1 RewriteRule /\w+/combo/__[^/]+/([^?]*)$ /lib/combo.apache.php?$1 RewriteRule ^(.*?)__(.*?)$ /$1?$2 SSLEngine on SSLProtocol all -SSLv2 -SSLv3 -TLSv1.1 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:!MEDIUM:!LOW:!aNULL:!MD5:!RC4 SSLCertificateFile /etc/ssl/crt/www.cytxl.com.cn.crt SSLCertificateKeyFile /etc/ssl/crt/cytxl_com_cn_private.key SSLCertificateChainFile /etc/ssl/crt/www.cytxl.com.cnCA.crt </VirtualHost>
解决方案
<VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "E:/html/pim/php_aspire-www/heonline/webroot/" ServerName www.cytxl.com.cn # ServerAlias www.dummy-host.example.com ErrorLog F:/data/apache/logs/localhost.www.cytxl.com.cn-error.log CustomLog F:/data/apache/logs/localhost.www.cytxl.com.cn-access.log common </VirtualHost>
修改完,重启apache即可。