rewrite rule

Max maxbear at gmail.com
Sun Mar 1 16:58:25 MSK 2009


Hello,

I tried to change the following apache rewrite to work under nginx. But it's
still not working.

RewriteEngine On
RewriteBase /
RewriteRule ^item-(.*)_(.*)_(.*)_(.*).html$
auction.php?title=$1&item=$2&country=$3&ccid=$4
RewriteRule ^item-(.*)_(.*)_(.*).html$
auction.php?title=$1&item=$2&country=$3
RewriteRule ^item-(.*)_(.*).html$ auction.php?title=$1&item=$2

Could anyone teach me how can I do it correctly? Thanks a lot.

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090301/92338a58/attachment.html>


More information about the nginx mailing list