We get information from $_SERVER['REQUEST_URI']
not from $_GET
or $_POST
.
I want to define $request_uri
to change /example
to /module/controller/action
. Please note that I do not want to trigger a redirect.
I tried the code below to do this, but it doesn't work.
location /example {
rewrite /module/controller/action;
}