0
網址:http://example.com/good_game/osmp/
mod_rewrite的URL與1或2 PARAMS
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/?$ /?service=$1&terminal=$2 [L,QSA]
我收到
Array ([service] => good_game [terminal] => osmp)
這是確定的,但
網址:http://example.com/good_game
或http://example.com/good_game/
我需要
Array ([service] => good_game)
,並返回404未找到