能放了两个站点吗?有一个不能访问

 

问:一个站标题窜了,一个站带.html的页面访问不了,能放了两个站点吗?有一个不能访问

问:两个站怎么独立

问:

问:这是其中的规则一、

rewrite ^/(.*)\\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.php last;rewrite ^/(.*)/file/(.*)\\.php(.*)$ /404.php last;rewrite ^/(.*)-htm-(.*)$ /$1.php?$2 last;

rewrite ^/(.*)/show-([0-9] )([\\-])?([0-9] )?\\.html$ /$1/show.php?itemid=$2&page=$4 last;rewrite ^/(.*)/list-([0-9] )([\\-])?([0-9] )?\\.html$ /$1/list.php?catid=$2&page=$4 last;rewrite ^/(.*)/show/([0-9] )/([0-9] )?([/])?$ /$1/show.php?itemid=$2&page=$3 last;rewrite ^/(.*)/list/([0-9] )/([0-9] )?([/])?$ /$1/list.php?catid=$2&page=$3 last;rewrite ^/(.*)/([A-za-z0-9_\\-] )-c([0-9] )-([0-9] )\\.html$ /$1/list.php?catid=$3&page=$4 last;rewrite ^/(.*)/([0-9] )-([0-9] )-([0-9] )-([0-9] )\\.html$ /$1/index.php?moduleid=$2&catid=$3&itemid=$4&page=$5 last;rewrite ^/(.*)/([a-z] )/(.*)\\.shtml$ /$1/$2/index.php?rewrite=$3 last;
rewrite ^/(com)/([a-z0-9_\\-] )/(sale|rent)/list(.*).html?$ /index.php?homepage=$2&file=$3&str=$4  last;rewrite ^/(com)/([a-z0-9_\\-] )/([a-z] )/list(.*).html /index.php?homepage=$2&file=$3&str=$4 last;
rewrite ^/(com)/([a-z0-9_\\-] )/([a-z] )/(.*)\\.html$ /index.php?homepage=$2&file=$3&rewrite=$4 last;rewrite ^/(com)/([a-z0-9_\\-] )/([a-z] )([/])?$ /index.php?homepage=$2&file=$3 last;rewrite ^/(com)/([a-z0-9_\\-] )([/])?$ /index.php?homepage=$2 last;
rewrite ^/(house)/list-(r|b|t|p|f|l|o|h|n|g|j|e)([0-9A-Z_] )\\.html?$ /$1/list.php?&$2=$3  last;rewrite ^/(house)/list-r([0-9] )-t([0-9] )-p([0-9] )-k(.*)\\.html?$ /$1/list.php?&r=$2&t=$3&p=$4&k=$5  last;rewrite ^/(house)/map.html?$ /map/newhouse.php  last;
rewrite ^/(house)/([0-9] )/?$ /$1/show.php?&at=$3&itemid=$2  last;rewrite ^/(house)/([0-9] )/index\\.html?$ /$1/show.php?&at=$3&itemid=$2  last;rewrite ^/(house)/([0-9] )/wenfang-g([0-9] )\\.html?$ /extend/wenfang.php?mid=6&itemid=$1&page=$2 last;rewrite ^/(house)/([0-9] )/(xinxi|huxing|jiage|xiangce|wenfang|peitao|zixun|dianping|pic)\\.html?$ /$1/show.php?&at=$3&itemid=$2   last;rewrite ^/(.*)/p([0-9] )-h([0-9] )\\.html?$ /$1/show.php?itemid=$2&houseid=$3 last;rewrite ^/(house)/([0-9] )/xiangce-c([0-9] )\\.html?$ /$1/show.php?&at=xiangce&itemid=$2&catids=$3 last;rewrite ^/(house)/([0-9] )/huxing-s([0-9] )\\.html?$ /$1/show.php?&at=huxing&itemid=$2&shi=$3 last;rewrite ^/(house)/([0-9] )/hxinfo-([0-9] )\\.html?$ /$1/show.php?&at=hxinfo&itemid=$2&id=$3 last;rewrite ^/(house)/([0-9] )/xcinfo-([0-9] )\\.html?$ /$1/show.php?&at=xcinfo&itemid=$2&id=$3 last;

#经纪人规则rewrite ^/(broker)/index\\.html$ /$1/index.php last;rewrite ^/(broker)/list-(r|b|t|p|f|l|o|h|n|g|c|y|e|m|u|i)([0-9_] )\\.html?$ /broker/index.php?&$2=$3 last; rewrite ^/(broker)/list-(.*)\\.html?$ /$1/index.php?&param=$2  last;
rewrite ^/(fenxiao)/list-(r|b|t|p|f|l|o|h|n|g|c|y|e|m|u|i)([0-9_] )\\.html?$ /fenxiao/index.php?&$2=$3 last; rewrite ^/(fenxiao)/d-([0-9] )\\.html?$ /$1/detail.php?&itemid=$2  last;#二手房规则rewrite ^/(community)/([0-9] )/(sale|rent)/list\\.html?$ /$1/show.php?&at=$3&itemid=$2 last;rewrite ^/(community)/([0-9] )/(sale|rent)/list(.*).html?$ /$1/show.php?&at=$3&itemid=$2&str=$4  last;rewrite ^/(sale)/map\\.html?$ /map/index.php last;rewrite ^/(rent)/map\\.html?$ /map/rent.php last;rewrite ^/(map)/rent\\.html?$ /map/rent.php last;rewrite ^/(map)/sale\\.html?$ /map/index.php last;rewrite ^/(map)/house\\.html?$ /map/newhouse.php last;rewrite ^/(.*)/list(.*)\\.html?$ /$1/list.php?str=$2 last;rewrite ^/(.*)/list\\.html$ /$1/list.php last;rewrite ^/(.*)/list-(r|b|t|p|f|l|o|h|n|g|c|y|e|m|u|i)([0-9_] )\\.html?$ /$1/list.php?&$2=$3 last; rewrite ^/(.*)/list-k(.*)\\.html?$ /$1/list.php?&k=$2 last;rewrite ^/(.*)/list-(.*)\\.html?$ /$1/list.php?&param=$2  last;rewrite ^/(.*)/pk/(. )?$ /$1/compare.php?&itemid=$2 last;#小 规则rewrite ^/(community)/([0-9] )/?$ /$1/show.php?&at=$3&itemid=$2 last;rewrite ^/(community)/([0-9] )/index\\.html?$ /$1/show.php?&at=$3&itemid=$2 last;rewrite ^/(community)/([0-9] )/(sale|rent|price|map)\\.html?$ /$1/show.php?&at=$3&itemid=$2  last;rewrite ^/(community)/([0-9] )/(sale|rent)/list\\.html?$ /$1/show.php?at=$3&itemid=$2  last;
rewrite ^/(community)/([0-9] )/(sale|rent)/list(.*).html?$ /$1/show.php?&at=$3&itemid=$2&str=$4  last;rewrite ^/(community)/([0-9] )/(sale|rent)/list(.*).html?$ /$1/show.php?&at=$3&itemid=$2&list.php\\?str=$4  last;

rewrite ^/(.*)/search\\.html$ /$1/search.php last;rewrite ^/(.*)/search-k([^/-] )\\.html$ /$1/search.php?&kw=$2 last;rewrite ^/(.*)/search-([^/-] )-p([0-9] )\\.html$ /$1/search.php&kw=$2&page=$3  last;rewrite ^/(.*)/([0-9] )/?$ /$1/show.php?&at=$3&itemid=$2 last;rewrite ^/(.*)/([0-9] )/(.*).html?$ /$1/show.php?&at=$3&itemid=$2;
rewrite ^/(.*)/(.*)\\.htm$ /$1/404.php last;
这是其中的规则二、<IfModule mod_rewrite.c>  RewriteEngine On  RewriteBase /  ErrorDocument 404 /404.html
  RewriteCond %{REQUEST_METHOD} ^(OPTIONS)  RewriteRule .* – [F]
  RewriteCond %{REQUEST_FILENAME} !-d  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php [NC,QSA]</IfModule>

问:是不是有什么冲突?

答:您好,根据工单中的截图,核实到两个站点的目录真不一致的,也就是说除非两个目录是软连接的情况下,两个站点是相对独立的,请联系程序提供商核实下不能访问html后缀文件的站点伪静态规则,请核实

,非常感谢您长期对我司的支持!

更多关于云服务器域名注册虚拟主机的问题,请访问西部数码官网:www.west.cn
赞(0)
声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-62778877-8306;邮箱:fanjiao@west.cn。本站原创内容未经允许不得转载,或转载时需注明出处:西部数码知识库 » 能放了两个站点吗?有一个不能访问

登录

找回密码

注册