.htaccess to nginx rewite

Posted by Deepak on Server Fault See other posts from Server Fault or by Deepak
Published on 2011-01-16T03:12:10Z Indexed on 2011/01/16 3:55 UTC
Read the original article Hit count: 270

Filed under:
|

please help me with changing this .htaccess to rginx rewite

RewriteRule   ^show.php/(.*)$ show2.php?img=$1 [L]

RewriteRule ^out.php/([a-z]{1})(.*)$ out2.php?$1=$2&%{QUERY_STRING} [L] RewriteRule ^view.php/(.)$ view2.php?img=$1 [L] RewriteRule ^images.php/([a-z]{1})(.)$ images2.php?$1=$2&%{QUERY_STRING} [L]

RewriteRule ^gallery/([0-9]+)-([^/])/(.)$ gallery.php?gal=$1&img=$3 [L] RewriteRule ^view/([0-9]+)-([^/])/(.)$ gallery_body.php?gal=$1&img=$3 [L]

© Server Fault or respective owner

Related posts about linux

Related posts about nginx