.htaccess 关于速度问题的规则

.htaccess 关于速度问题的规则,.htaccess,mod-rewrite,litespeed,.htaccess,Mod Rewrite,Litespeed,当我访问http://domain.com/example。查询看起来不错等等 当我访问http://domain.comindex.php未加载,似乎已完成空白重定向,http://domain.com/city.php?q= 我怎样才能让index.php加载而不是重写启动 Options +FollowSymLinks RewriteCond %{REQUEST_URI} !\.(css|jpg|gif|png|jar|js|html|htm|php)$ RewriteEngine On

当我访问http://domain.com/example。查询看起来不错等等

当我访问http://domain.comindex.php未加载,似乎已完成空白重定向,http://domain.com/city.php?q=

我怎样才能让index.php加载而不是重写启动

Options +FollowSymLinks
RewriteCond %{REQUEST_URI} !\.(css|jpg|gif|png|jar|js|html|htm|php)$
RewriteEngine On
RewriteRule ^([^/]*)$ /city.php?q=$1 [L]
谢谢

好的,我知道了

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d