Who Can Help me switch a Nginx rewrite rules

RewriteRule
/(?:attachment)/..(?:gif|jpg|jpeg|png|psd|wav|mid|asf|wma|wmv|rm|bmp|exe|rar|zip|msi|ram|doc|xls|mp3|mpg|swf|ra|mp4|rmp|avi|tar|flv|rmvb|torrent)
/images/err.gif [I,O]
RewriteRule ^(.
)-htm-(.)$ $1.php?$2
RewriteRule ^(.
)/simple/([a-z0-9_]+.html).$ $1/simple/index.php?$2
RewriteRule ^(.
)/([a-zA-Z]+).html.$ $1/$2.php
RewriteRule ^(.
)/sitemap.xml$ $1/sitemap.php
RewriteRule ^(.)/([a-zA-Z]+)-(..html.)$ $1/$2.php?$3
RewriteRule ^/([a-zA-Z]+).html.
$ /$1.php
RewriteRule ^(.)/sitemap.xml$ $1/sitemap.php
RewriteRule ^(.
)/archiver/ /simple/ [R]
RewriteRule ^(.)/tid-(\d+).html /simple/index.php?t$2.html [R]
RewriteRule ^(.
)/fid-(\d+).html /simple/index.php?f$2.html [R]
RewriteRule ^(.)/fid-(\d+)-(\d+)-1.html /simple/index.php?f$2.html
[R]
RewriteRule ^(.
)/forum-(\d+)-(\d+).html$ $1/thread.php?fid=$2 [R]
RewriteRule ^(.)/thread-(\d+)-(\d+)-(\d+).html$ $1/read.php?tid=$2
[R]
RewriteRule ^(.
)-htm-(.)$ $1.php?$2
RewriteRule ^(.
)simple/([t|f].+).html$ /simple/index.php?$2.html
[NC,L]

WHo Can help me switch
I just use the switch website
But RewriteRule ^(.)/([a-zA-Z]+)-(..html.*)$ $1/$2.php?$3
This rules still cant use

thank you

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,139096,139096#msg-139096

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs