-
-
Save rwunsch/1be65b5c01eafad5b7cdbe38118998ec 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
/etc/map | |
+-- http | |
+-- example.com.80 | |
| +-- sling:redirect = "http://www.example.com/" | |
+-- www.example.com.80 | |
| +-- sling:internalRedirect = "/example" | |
+-- any_example.com.80 | |
| +-- sling:match = ".+\.example\.com\.80" | |
| +-- sling:redirect = "http://www.example.com/" | |
+-- localhost_any | |
| +-- sling:match = "localhost\.\d*" | |
| +-- sling:internalRedirect = "/content" | |
| +-- cgi-bin | |
| | +-- sling:internalRedirect = "/scripts" | |
| +-- gateway | |
| | +-- sling:internalRedirect = "http://gbiv.com" | |
| +-- (stories) | |
| +-- sling:internalRedirect = "/anecdotes/$1" | |
+-- regexmap | |
+-- sling:match = "$1.example.com/$2" | |
+-- sling:internalRedirect = "/content/([^/]+)/(.*)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment