I have a site on domain.de/webinterface/.
There is a index.php with two get parameters (page & user)
Now i want that domain.de/webinterface/user/Niklas redirects to domain.de/webinterface/index.php?page=user&name=Niklas
I have this atm:
location /webinterface/ {
rewrite ^/webinterface/([^/]*)/([^/]*)$ /webinterface/index.php?page=$1&name=$2 ;
}
But it doesn't work. Can anyone help me with this qestion?