这些是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时,它再次给我错误404,但是当我打开www.mysite.com/admin/index.php时它会工作......
我该如何解决..