|
|
我服务器上原来的网站用了一个伪静态规则
现在用DESTOON把企业设为二级域名,其他页面正常,唯独企业新闻中心无法正常显示
原网站规则是
RewriteRule /company-([0-9,a-z]*).html /plus/stock\.php\?code=$1
RewriteRule /company/([A-Za-z]*)/([0-9,a-z]*).html /plus/$1\.php\?code=$2
RewriteRule /guba/([0-9,a-z]*).html /plus/guba\.php\?code=$1
RewriteRule /guba/([0-9,a-z]*)-([A-Za-z]*).html /plus/guba\.php\?code=$1&ftype=$2
RewriteRule /([A-Za-z]*)/([A-Za-z]*)/([0-9]*)-([0-9]*)-([0-9]*)/([0-9]*).html /plus/view\.php\?aid=$6
RewriteRule /News/([A-Za-z]*)/([A-Za-z]*)/([0-9]*)-([0-9]*)-([0-9]*)/([0-9]*).html /plus/view\.php\?aid=$6
RewriteRule /Video/([0-9,a-z]*)/([A-Za-z]*)/([0-9]*)-([0-9]*)-([0-9]*)/([0-9]*).html /plus/view\.php\?aid=$6
RewriteRule /company-([0-9,a-z]*)-([0-9,a-z]*).html /$1\.php\?code=$2
新加DESTOON规则是
RewriteRule ^(.*)-htm-(.*)$ $1\.php\?$2
RewriteRule ^(.*)/show-([0-9]+)([\-])?([0-9]+)?\.html$ $1/show\.php\?itemid=$2&page=$4
RewriteRule ^(.*)/list-([0-9]+)([\-])?([0-9]+)?\.html$ $1/list\.php\?catid=$2&page=$4
RewriteRule ^(.*)/show/([0-9]+)/([0-9]+)?([/])?$ $1/show\.php\?itemid=$2&page=$3
RewriteRule ^(.*)/list/([0-9]+)/([0-9]+)?([/])?$ $1/list\.php\?catid=$2&page=$3
RewriteRule ^(.*)/([a-z0-9]+)\.co/(.*)$ $1/company/index\.php\?homepage=$2&rewrite=$3
RewriteRule ^(.*)/htm/(.*)$ $1/index\.php\?&rewrite=$2
按论坛的方法IIS默认网站绑定了COMPANY目录,主机头为空。麻烦给看下哪里有冲突?如何修改? |
|