This file contains hidden or 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
# This function does three things: | |
# 1. Cretes a directory for $sitename | |
# 2. Creates a hosts entry for $sitename | |
# 3. Creates a virtual-hosts entry for $sitename | |
# | |
# Note: Be careful with this function if you aren't comfortable | |
# with editing these system files yourself. If you enter a url you | |
# actiually use, say google.com, then whenever you try to go to | |
# google.com your browser will be pointed to your local google site | |
# at $HOME/Sites/google.com |