Nginx(在Nginx.conf中添加):

    location / {
        root   /web/tool;
        index  index.php index.html index.htm;
        try_files $uri $uri/ /index.php?$query_string;
        if ( !-e $request_filename) {
            rewrite ^(.*)$ /index.php/$1 last;
            break;
        }
        autoindex on;
    }

 

相关文章:

  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2022-02-24
相关资源
相似解决方案