can anyone convert this mod rewrite rule
onel0ve
nginx-forum at nginx.us
Mon Apr 4 22:00:06 MSD 2011
# BEGIN DPIOptions
RewriteEngine On
RewriteRule ^thumb-(.*)\.jpg$ thumb.php?id=$1 [L]
RewriteRule ^image-(.*)\.jpg$ image.php?id=$1 [L]
RewriteRule ^image-(.*)\.gif$ image.php?id=$1&gif [L]
RewriteRule ^share-(.*)\.html$ share.php?id=$1 [L]
RewriteRule ^gallery-(.*)-(.*)-(.*)\.html$ gallery.php?id=$2&page=$3
[L]
RewriteRule ^gallery-(.*)-(.*)\.html$ gallery.php?id=$2 [L]
RewriteRule ^archive-(.*)\.html$ archive.php?page=$1 [L]
RewriteRule ^galleries-(.*)\.html$ archive.php?page=$1 [L]
RewriteRule ^content-(.*)\.html$ content.php?$1 [L]
RewriteRule ^profile-(.*)\.html$ profile.php?id=$1 [L]
RewriteRule ^images-(.*)\.html$ images.php?date=$1 [L]
# END DPIOptions
please convert this for nginx
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,188294,188294#msg-188294
More information about the nginx
mailing list