Splendid. It worked.by Marwelln - How to...
Just noticed the query string isn't working. Is there a fix to this? file.php?foo=bar should be page.php?page=file&foo=bar But in my case, foo (the query string) isnt registered.by Marwelln - How to...
Thank you my friend. I got it working with this: location ~ (.*/)(+).php { try_files $uri $1page.php?page=$2; include fastcgi_params; fastcgi_pass 127.0.0.1:9000; }by Marwelln - How to...
"file" is dynamic, not static as I assume your code is.by Marwelln - How to...
I am really new to nginx and wanted to setup a rewrite but it allways fails for me. What I want is to rewrite file.php to page.php?page=file, but I only want this to occour if file.php dont exist. Can anyone help me with this? I've tried a few rewrites myself but nothing works...by Marwelln - How to...