On Thursday 26 March 2009, Igor R wrote: > RewriteEngine On > RewriteRule ^/?([0-9]{1,3})/([0-9]{1,3})/([er])/([a-z0-9_\.-]+)/?$ > /amazon.php?folder=images&file=$4&width=$1&height=$2&aspect=$3 [L,NC] в nginx нет флагов [L,NC], поэтому: rewrite "^/(\d{1,3})/(\d{1,3})/([er])/([a-zA-Z\d_.-]+)?/$" /amazon.php?folder=images&file=$4&width=$1&height=$2&aspect=$3 last;