Created
October 23, 2014 15:19
-
-
Save dboutote/8378301b4ff260f93b13 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
## OLD WAY | |
<VirtualHost *:80> | |
##ServerAdmin postmaster@dummy-host2.localhost | |
DocumentRoot "C:/Development/personal-projects/grammys/site/application" | |
ServerName grammys.localhost | |
##ServerAlias www.dummy-host2.localhost | |
ServerAlias *.grammys.localhost | |
ErrorLog "logs/grammys.localhost-error.log" | |
CustomLog "logs/grammys.localhost-access.log" combined | |
<Directory "C:/Development/personal-projects/grammys/site/application"> | |
Options -Indexes FollowSymLinks | |
AllowOverride AuthConfig FileInfo All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> | |
## NEW WAY: | |
<VirtualHost *:80> | |
ServerName grammys.localhost | |
ServerAlias *.grammys.localhost | |
DocumentRoot "C:/Development/personal-projects/grammys/site/application" | |
ErrorLog "logs/grammys.localhost-error.log" | |
CustomLog "logs/grammys.localhost-access.log" common | |
<Directory "C:/Development/personal-projects/grammys/site/application"> | |
Options +MultiViews +FollowSymLinks | |
AllowOverride All | |
<IfVersion < 2.3 > | |
Order allow,deny | |
Allow from all | |
</IfVersion> | |
<IfVersion >= 2.3> | |
Require all granted | |
</IfVersion> | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment