这些是 lighttpd.conf 中的规则
$HTTP["host"] =~ "^(www\.)?mysite.com" {
url.rewrite-once = ( "^/$" => "/index.php?route=common/home" )
url.rewrite-if-not-file = ( "^/(.*)" => "/index.php?_route_=$1" )
url.access-deny = ( ".tpl", ".ini", ".log" )
server.error-handler-404 = "/index.php?route=error/not_found"
index-file.names = ( "index.php" )
}
一切正常。当我打开 www.mysite.com/adidas 时,它可以工作,但是当我尝试打开 www.mysite.com/adidas?page=2 时,它给了我 error404。
当我尝试打开 www.mysite.com/admin 它再次给我error404,但是当我打开 www.mysite.com/admin/index.php 它工作...
我该如何解决它..