Created
March 31, 2017 09:17
-
-
Save BrainFeeder/5bcf4acabdc6833da1de450e8d2f866c to your computer and use it in GitHub Desktop.
Apache Virtual host example
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
Virtual host servername | |
# Virtual Hosts | |
# | |
<VirtualHost *:80> | |
ServerName localhost | |
DocumentRoot c:/wamp64/www | |
<Directory "c:/wamp64/www/"> | |
Options +Indexes +Includes +FollowSymLinks +MultiViews | |
AllowOverride All | |
Require local | |
</Directory> | |
</VirtualHost> | |
# | |
<VirtualHost *:80> | |
ServerName appname.local | |
DocumentRoot C:/wamp64/www/appfolder/public_html | |
<Directory "c:/wamp64/www/appfolder/public_html"> | |
Options +Indexes +Includes +FollowSymLinks +MultiViews | |
AllowOverride All | |
Require local | |
</Directory> | |
</VirtualHost> | |
# | |
# Remember to add a rule in the Windows host file | |
# 127.0.0.1 appname.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment