Created
August 26, 2015 16:29
-
-
Save rsignell-usgs/b243cf56f070d56e9a9b 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
more /etc/apache2/sites-enabled/010-usgs_geoport | |
<VirtualHost xxx.xxx.xxx.xxx:80> | |
ServerName geoport.whoi.edu | |
DocumentRoot /var/www | |
Header always set Access-Control-Allow-Origin "*" | |
Header always set Access-Control-Allow-Methods "GET, POST, OPTIONS" | |
Header always set Access-Control-Allow-Headers "X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding" | |
<IfModule mod_proxy.c> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment