Created
November 22, 2013 17:21
-
-
Save clare485/7603597 to your computer and use it in GitHub Desktop.
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
Zeus redirection can often confuse people as it looks far more complicated than mod_rewrite under Apache. Below I've included some examples of common rewrites that you may find useful. All of these examples just need to be placed into a file named rewrite.script at the root of your website (where the index file is). | |
Redirect to a Different Website | |
If you want to redirect one website to another on the Zeus Web Server platform, simply use the following code : | |
insensitive match URL into $ with ^/(.*) | |
if matched then | |
set OUT:Location = http://www.othersite.com | |
set RESPONSE=301 | |
set BODY=$1 | |
goto END | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment