Last active
February 9, 2016 14:10
-
-
Save ITfee/19b8d1efd2776397e2e2 to your computer and use it in GitHub Desktop.
Redirect Subdirectory to Subdomain on Windows Webserver
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Rewrite to http://sub.mydomain.de/" stopProcessing="true"> | |
<match url="subdirectory/" /> | |
<action type="Redirect" url="http://sub.mydomain.de" /> | |
</rule> | |
</rules> | |
</rewrite> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment