Giter VIP home page Giter VIP logo

Comments (6)

laruence avatar laruence commented on May 30, 2024

那你要看看是不是apache的rewrite没写对啊

from yaf.

MopLand avatar MopLand commented on May 30, 2024

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php

是这样设置的。

from yaf.

MopLand avatar MopLand commented on May 30, 2024

其他的路由都是好的,就这条不行,感觉像是正则没有匹配一样。

from yaf.

laruence avatar laruence commented on May 30, 2024

PATH_INFO打开了么?

from yaf.

MopLand avatar MopLand commented on May 30, 2024

是需要 _SERVER 的 PATH_INFO 变量吗?
我本地的 Apache 确实没有,同事的 Nginx 有,他是正常的,是这个的原因吗?

from yaf.

MopLand avatar MopLand commented on May 30, 2024

谢谢大大,已确认是 PATH_INFO 的问题,换个环境就好了。

from yaf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.