Added by msrougi over 9 years ago
I'm trying to remove the index.php from https://test.mysite.com.br/api/index.php/get/0/32342543 with no success.
I've tried:
url.rewrite-once = (
"^/(test)(.*)” => “/$1$2",
"^/(.*)$” => “/index.php/$1"
)
and also:
url.rewrite = (
"^/(.*)\.(.+)$" => "$0",
"^/(.+)/?$" => "/api/index.php/$1"
)
But both didn't work. Does anyway knows the correct syntax for url.rewrite. Thanks in advance.
Ubuntu 10.04.4 LTS with Lighttpd 1.4.26
url.rewrite-once = ( "^(.*)$” => “/api/index.php$1" )