<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1447247148392_9789">Hello,</div><div id="yui_3_16_0_1_1447247148392_9797"><br></div><div id="yui_3_16_0_1_1447247148392_9845" dir="ltr">I have checked many ways to implement what I want (including if is evil) and I've been able to reach what I wanted to do (something simple)</div><div id="yui_3_16_0_1_1447247148392_9847" dir="ltr"><br></div><div id="yui_3_16_0_1_1447247148392_9849" dir="ltr">I want that a user who accesses</div><div id="yui_3_16_0_1_1447247148392_9851" dir="ltr">nginx.org/information</div><div id="yui_3_16_0_1_1447247148392_9853" dir="ltr">will be redirected in the background to</div><div id="yui_3_16_0_1_1447247148392_9855" dir="ltr">nginx/index.php?x=information</div><div id="yui_3_16_0_1_1447247148392_9981" dir="ltr">So that my index.php page is dymanic</div><div id="yui_3_16_0_1_1447247148392_9946" dir="ltr"><br></div><div id="yui_3_16_0_1_1447247148392_9897" dir="ltr">I did like this in my virtual host configuration</div><div id="yui_3_16_0_1_1447247148392_9909" dir="ltr">location /information { try_files information /index.php?x=information; }</div><div id="yui_3_16_0_1_1447247148392_9911" dir="ltr"><br></div><div id="yui_3_16_0_1_1447247148392_9976" dir="ltr">I would like to know if:</div><div id="yui_3_16_0_1_1447247148392_9978" dir="ltr">a) This is the best practice to do what I would like to do ?</div><div id="yui_3_16_0_1_1447247148392_9980" dir="ltr">b) If "location /information" is an exact match only. Apparently no because nginx.org/informationxxxsomethingxxxweird also matches</div><div id="yui_3_16_0_1_1447247148392_9995" dir="ltr"><br></div><div id="yui_3_16_0_1_1447247148392_10009" dir="ltr">Any other advices are appreciated.</div><div id="yui_3_16_0_1_1447247148392_10011" dir="ltr"><br></div><div id="yui_3_16_0_1_1447247148392_10013" dir="ltr">Thank you<br></div></div></body></html>