Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Replace .php with backslash

$
0
0
How would my try_files look if I wanted to have http://mydomain/script/ instead of http://mydomain/script.php ?

I am trying to configure auto-exchanger, it seems that if the url is http://mydomain/script/ script.php would be called but if the domain is http://mydomain/script/some/extra the latter two are passed as GET requests (script.php?some=extra). How can I achieve that?

Viewing all articles
Browse latest Browse all 4759

Trending Articles