HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   How to change rewrite from apache to nginx (http://www.howtoforge.com/forums/showthread.php?t=43638)

vuit 24th February 2010 07:45

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


All times are GMT +2. The time now is 00:03.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.