Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos5.4/ISPConfig 3--Virtual site not working MichaelCaditz Installation/Configuration 25 25th March 2011 12:37
trying to install roundcubemail ressel Installation/Configuration 13 24th December 2009 21:13
if I do a change apache go in stop giagi General 1 28th August 2008 11:38
Drupal and Apache Rewrite Rules andre Server Operation 10 4th May 2006 22:04
change rewrite to use real vhost fuban Installation/Configuration 3 5th September 2005 11:16

All times are GMT +2. The time now is 10:05.

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