我在 ubuntu 上,我有清漆缓存,我搜索了很多问题,但找不到,
当我进入
http://127.0.0.1/soccer
这个 uri 意味着需要 football.php,我的浏览器将我重定向到,
http://127.0.0.1:8000/soccer/?tab_id=soccer
但是当我打字时,
http://127.0.0.1/soccer/
这个很好用,有趣的是,这个问题只发生在“soccer”和“save”关键字中,
这是我的 .htaccess
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# Or, compress certain file types by extension:
<files *.php>
SetOutputFilter DEFLATE
</files>
<files *.html>
SetOutputFilter DEFLATE
</files>
RewriteEngine On
Options -MultiViews
RewriteRule ^([//0-9a-zçöşığüA-ZÇÖŞİĞÜ-]+)$ tab.php?tab_id=$1 [QSA,L]