Created
April 11, 2013 15:31
-
-
Save rkjha/5364366 to your computer and use it in GitHub Desktop.
Apache VirtualHost Configuration
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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName example.com | |
DocumentRoot /home/user_name/example.com/ | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName www.example.com | |
Redirect permanent / http://example.com/ | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment