Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
帮助重写标志 apache - lighttpd 的 QSA。现在可用:
RewriteRule ^([^?]*) index.php?_route_=$1 [L, QSA]
尝试此案例,但无法正常运行:
url.rewrite-if-not-file = ("^/(?:\?(.*))?" => "/index.php?_route_=$1")
根据我对 lighttpd 的了解:
url.rewrite-if-not-file = ("^/([^\?]*)$" => "/index.php?_route_=$1")
.. 应该管用。如果没有,那么以下将:
url.rewrite-if-not-file = ("^([^\?]*)$" => "/index.php?_route_=$1")