richie
richie

Reputation: 189

Rewrite: Apache to Nginx

could someone tell me, how to convert the following rules for nginx?

RewriteRule ^([^/]*)/?$ index.php?a=$1 [L,NC]
RewriteRule ^([^/]*)/([^/]*)/?$ index.php?a=$1&b=$2 [L,NC]
RewriteRule ^([^/]*)/([^/]*)/([^/]*)/?$ index.php?a=$1&b=$2&c=$3 [L,NC]

Upvotes: 0

Views: 262

Answers (1)

Related Questions