Can anyone help me convert this rewrite below to nginx syntax? RewriteRule ^(.*).xml $1.php?%{QUERY_STRING} Been fighting with this one all morning but it just refuses to work properly.... The php stuff is in a subdir called info so I have tried using this as the rule in my vhost.conf : location /info { root /home/user/public_html/info; index index.php indeby KingPin - Migration from Other Servers