Hi, i need to translate this htaccess to nginx: RewriteCond %{QUERY_STRING} !^/?url RewriteCond %{QUERY_STRING} !^/?auto RewriteRule ^(.*)$ /?url=$1 [L] is this the right solution? if ($args !~ "^/?url"){ set $rule_0 1$rule_0; } if ($args !~ "^/?auto"){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite ^/(.*)$ /?url=$1 last; } cheers, juergen