url.rewrite-once = (
".*\.(js|ico|gif|jpg|png|css|html)$" => "$0",
"^/([^?]*)(\?.*)?$" => "/$1.php/$2",
)
This is what I got but the args don’t work.
I like following url
http://www.example.com/index.php/?r=something
To look like this:
http://www.example.com/index/?r=something
Thanx
If
/index/?r=somethingis requested, it is rewritten to/index/.php/?r=something. So try this rule:With this pattern the trailing slash is optional.