0

My nginx server won't accept these kind of URL's, while apache handles them just fine:

http://domain/file.php/?variablename=variable

nginx accept only that:

http://domain/file.php?variablename=variable

Please let me know if the first approach is "doable" for nginx. Thanks

1 Answers1

0

Found a solution myself, so if someone struggles with that API calls, just instert that in the config:

location ~ .php/ { 

    rewrite ^(.*.php)/ $1 last;

}