linux+lnamp环境 配置二级域名
企业使用二级域名,环境是linux+lnamp,二级域名中企业页面产品详细页不存在,是神马回事呀?泛解析如下:
# Destoon B2B Rewrite Rules
ErrorDocument 404 /404.php
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.php
RewriteRule ^(.*)/file/(.*)\.php(.*)$ /404.php
RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
RewriteRule ^(.*)/show-(+)([\-])?(+)?\.html$ $1/show.php?itemid=$2&page=$4
RewriteRule ^(.*)/list-(+)([\-])?(+)?\.html$ $1/list.php?catid=$2&page=$4
RewriteRule ^(.*)/(+)-c(+)-(+)\.html$ $1/list.php?catid=$3&catdir=$2&page=$4
RewriteRule ^(.*)/show/(+)/(+)?([/])?$ $1/show.php?itemid=$2&page=$3
RewriteRule ^(.*)/list/(+)/(+)?([/])?$ $1/list.php?catid=$2&page=$3
RewriteRule ^(.*)/(+)/(.*)\.shtml$ $1/$2/index.php?rewrite=$3
RewriteRule ^(com)/(+)/(+)/(.*)\.html$ index.php?homepage=$2&file=$3&rewrite=$4
RewriteRule ^(com)/(+)/(+)([/])?$ index.php?homepage=$2&file=$3
RewriteRule ^(com)/(+)([/])?$ index.php?homepage=$2
#Apache .conf Rules (Replace line 12 & line 13 & line 14)
#RewriteRule ^(.*)/com/(+)/(+)/(.*)\.html$ $1/index.php?homepage=$2&file=$3&rewrite=$4
#RewriteRule ^(.*)/com/(+)/(+)([/])?$ $1/index.php?homepage=$2&file=$3
#RewriteRule ^(.*)/com/(+)([/])?$ $1/index.php?homepage=$2
安装的是apache还是nginx服务
楼主是伪静态规则问题吧你换成动态的可以正常打开吧
是lnamp环境中使用.htaccess
恩,动态的可以打开、
动态可以 那就是伪静态规则设置的问题
楼主 你的是5.0还是6.0
版本是5.0
楼主解决了吗
页:
[1]