Welcome! Log In Create A New Profile

Advanced

How to change rewrite from apache to nginx

Posted by scottzu 
How to change rewrite from apache to nginx
February 23, 2010 11:25PM
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.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 167
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready