如何设置Xiuno BBS URL-Rewrite(伪静态设定)
xiunoa 2020-7-9

最新回复 (45)
全部楼主
  • oygs666
    2021-9-19 21
    0
    面对如此强贴,论遇到多大阻力,只要我一息上尚存,就绝不会让它沉沦下去,这一点请楼主放心。 
  • oygs666
    2021-9-19 22
    1
    楼主,我只是来混个熟的!老板,侬亿雷凑闹嫩了!
  • Asun
    2021-10-2 23
    0
    支持!
  • suijiong222
    2022-1-20 24
    0
    李天一 伪静态有啥用?
    美化链接
    如/?thread-1.htm——>/thread-1.htm
  • zhouying82
    2022-3-19 25
    0
    XiunoBBS 只需要一条规则:

    将 *.htm* 转发到 index.php?*.htm* 即可。//我用的是4.04版本,这句话看不懂啊,怎么个操作法呢?



    Xiuno BBS 4.0  需要编辑 conf/conf.php

    1. 编辑 'url_rewrite_on'=>1,

    2. 清空 tmp 目录 

  • ricky
    2022-5-14 26
    0
    ng伪静态搞了链接还是有个? 怎么解决呢。
  • heavenworld
    2022-7-17 27
    0
     'url_rewrite_on'=>1,登陆不上了。 /usr/local/nginx/conf/nginx.conf   nginx.conf的路径也不对,不知道哪里去找
  • 伊尹
    2022-7-23 28
    0
    顶顶顶顶顶顶顶!!!
  • MRMELON
    2022-9-17 29
    0
    改完之后进不去网站了
  • kkapi
    2022-9-26 30
    0
    哈哈,不错哦!
  • 章鱼猫
    2022-9-29 31
    0

    发现安装插件时候,点击安装后,提示安装成功,但是却不显示效果,跟这个设置伪静态有关吗?

    我的 Nginx 下把伪静态设置于添加到了下面位置,重启 Nginx 好像也没什么变化,希望有人能指点一下~

    server
        {
            listen 80 default_server reuseport;
            #listen [::]:80 default_server ipv6only=on;
            server_name _;
            index index.html index.htm index.php;
            root  /home/wwwroot/default;
    
            #error_page   404   /404.html;
    
            # Deny access to PHP files in specific directory
            #location ~ /(wp-content|uploads|wp-includes|images)/.*\.php$ { deny all; }
    
            include enable-php.conf;
    
            location /nginx_status
            {
                stub_status on;
                access_log   off;
            }
            location ~* \.(htm)$ {
                rewrite "^(.*)/(.+?).htm(.*?)$" $1/index.php?$2.htm$3 last;
            }
    
            location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
            {
                expires      30d;
            }
    
            location ~ .*\.(js|css)?$
            {
                expires      12h;
            }
    
            location ~ /.well-known {
                allow all;
            }
    
            location ~ /\.
            {
                deny all;
            }
    
            access_log  /home/wwwlogs/access.log;
        }
    
  • qiange2018
    2022-10-21 32
    0
    设置之后首页打不开 其他页面可以是什么情况
  • waltshen
    2022-11-12 33
    0
    哈哈,不错哦!
  • nxxxx117
    2022-12-27 34
    0
    哈哈,不错哦!
  • Tillreetree 版主
    2023-1-29 35
    1
    这帖子里的Apache部分误导了一大堆的人……其实两种版本是分开的,不是复制粘贴就完事的
  • 有无之间
    2023-2-24 36
    0
    顶顶顶顶顶顶顶!!!
  • stl176
    2023-3-9 37
    0
    哈哈,不错哦!
  • xiunoa 超版 楼主
    2023-3-29 38
    0
    Tillreetree 这帖子里的Apache部分误导了一大堆的人……其实两种版本是分开的,不是复制粘贴就完事的
  • xuyuguo
    2023-4-9 39
    0
    学习了,好用,顶!!!!!!!!!!!!!
  • 9978
    11月前 40
    0
    非常棒!!!
返回