View Single Post
  #1  
Old 24th February 2010, 08:45
vuit vuit is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to change rewrite from apache to nginx

Dear All

I have RewriteRule in Apache :

RewriteEngine on
Options +FollowSymLinks
RewriteRule ^cuulong$ /cuulong/ [R]
RewriteRule ^cuulong(.*)$ $1

RewriteCond %{SERVER_PORT} ^443$
RewriteCond %{REQUEST_URI} !^/([a-zA-Z]*)/(login\.php*|profile\.php*|checking*|admincp\/*|modcp\/*)
RewriteRule /(.*) https://diendan.zing.vn/$1/$2 [R=301,L]

Please help me to change rewrite to nginx.

Thank you.
Reply With Quote
Reply With Quote
Sponsored Links