新版本6_5_0 伪静态下 除首页外其它页面路径错误

新版本6_5_0 伪静态下 除首页外其它页面路径错误

lijiong520 2018-10-10 09:21:12

比如当前栏目路径是 list_14.htm
 
使用正常的模板标签,以前版本都无问题。
下面是源代码中的路径
 
 
电脑设备
 
每个URL前都多了当前页面的路径。
我使用的是Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9 php:5.3.29 mysqli:5.5.53
 
 
下面是.htaccess
 
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !"".(mp3|wmv|wma|rm|rmvb|js|ico|gif|jpeg|jpg|png|css|swf|php|html|shtml|xml|xsl|wsdl|xslt|eot|svg|ttf|woff|woff2|map)$ /index.php [NC]
 

    使用动态则无问题

    赞(0)参加讨论打赏

    大哥们遇到这种问题了吗?

    赞(0)参加讨论打赏

    刚重新下载程序,重新安装成功后。直接在后台改成伪静态显示。问题依旧,应该是系统的问题,望管理员修复!

    赞(0)参加讨论打赏

    Apache/2.4.23 (Win32) OpenSSL/1.0.2j PHP/5.2.17 php:5.2.17 mysqli:5.5.53
     
    测试无问题

    赞(0)参加讨论打赏

    我也是这个问题,你那边解决了吗,伪静态下是这个问题,动态预览则没事

    赞(0)参加讨论打赏

    2018-11-28 下载 6_6_0_20181102_UTF8 版本后,已无此问题!

    赞(0)参加讨论打赏

    我有这个问题啊,安装的是版( 6_6_0_20181102_UTF8),一开启伪静态就挂了,首页能访问,其他页面全部挂掉,并且发现开了之后形如 a.cn/listxxx.html路径
    我使用的是Nginx1.15.6,php 7.2.12 ,CentOS 7.5 x64 网站目录权限755,目前怀疑是伪静态有问题,使用静态或者动态则全部正常。

    赞(0)参加讨论打赏

    nginx 伪静态规则官网有下载

    这里贴出规则
     
    下载地址:https://www.cmseasy.cn/plus/show-275.html

    演示地址:http://t.cmseasy.cn/list-2.htm

    if ($request_filename !~* "".(mp3|wmv|wma|rm|rmvb|js|ico|gif|jpeg|jpg|png|css|swf|php|html|shtml|xml|xsl|wsdl|xslt$)) {
    rewrite .* /index.php last;
    }

    赞(0)参加讨论打赏