Created
March 8, 2011 16:13
-
-
Save chrismendis/860464 to your computer and use it in GitHub Desktop.
Example of Virtual Host setup for Apache
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
127.0.0.1 localhost | |
127.0.0.1 local.ltsb.mighty.ca | |
127.0.0.1 local.ltsb.fr.mighty.ca |
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
NameVirtualHost * | |
<VirtualHost *:80> | |
ServerName local.ltsb.mighty.ca | |
DocumentRoot "/Users/cmendis/Development/ltsb/public" | |
<Directory> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
</Directory> | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName local.ltsb.fr.mighty.ca | |
DocumentRoot "/Users/cmendis/Development/ltsb/public" | |
<Directory> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment