Created
April 1, 2012 08:43
-
-
Save nemf/2273623 to your computer and use it in GitHub Desktop.
mod_rewrite in .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# document_root/pmp/.htaccess | |
# NG | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^/pmp(.*)$ http://pmp.nemf.quickboy.com/$1 [R=301,L] | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# document_root/pmp/.htaccess | |
# OK | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^(.*)$ http://pmp.nemf.quickboy.com/$1 [R=301,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment