I have this rule in my server:
url.rewrite-once = (
".*\.(js|ico|gif|jpg|png|css|)$" => "$0",
"^/.*(\?.*)" => "/index.php$1",
"" => "/index.php"
)
and it works as it should be... except for a little detail. If I add get info to the js or css files then it redirects the request to index.php. If I have this:
/css/main.css
it loads the css, but if I add:
/css/main.css?version=1234
Then it try to load /index.php/main.css/?version=1234
What its wrong with my rule?