How to change rewrite from apache to nginx

Discussion in 'Server Operation' started by vuit, Feb 24, 2010.

  1. vuit

    vuit New Member

    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 /(.*)$1/$2 [R=301,L]

    Please help me to change rewrite to nginx.

    Thank you.
    Reply With Quote

Share This Page