Created
November 5, 2014 16:54
-
-
Save jdduarte/ea6428729aba1d89e337 to your computer and use it in GitHub Desktop.
Apache vhosts
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> | |
Header set Access-Control-Allow-Origin "*" | |
ServerName v7.roadworks.org.dev | |
DocumentRoot "/Users/jdduarte/Projects/ELGIN/roadworks-v7/wrapper" | |
</VirtualHost> | |
<VirtualHost *:80> | |
Header set Access-Control-Allow-Origin "*" | |
ServerName portal.v7.roadworks.org.dev | |
DocumentRoot "/Users/jdduarte/Projects/ELGIN/roadworks-v7/portal" | |
Alias /img "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/img" | |
<Directory /> | |
Options Indexes FollowSymLinks Includes ExecCGI | |
AllowOverride All | |
Require all granted | |
Header set Access-Control-Allow-Origin * | |
</Directory> | |
<Directory "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/img"> | |
Require all granted | |
</Directory> | |
Alias /images "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/images" | |
<Directory "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/images"> | |
Require all granted | |
</Directory> | |
Alias /i "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/i" | |
<Directory "/Users/jdduarte/Projects/ELGIN/elgin_images/Elgin%20images/i"> | |
Require all granted | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment