diff --git a/examples/webgl-timemachine/example-configs/earthtime-data-apache-vhost-env.conf b/examples/webgl-timemachine/example-configs/earthtime-data-apache-vhost-env.conf new file mode 100644 index 00000000..a11757ae --- /dev/null +++ b/examples/webgl-timemachine/example-configs/earthtime-data-apache-vhost-env.conf @@ -0,0 +1,31 @@ +# Example apache configuration, for EarthTime tile data serving +# +# To install, +# +# 1. Copy file and customize paths +# +# 2. Symlink into /etc/apache2/sites-enabled +# +# 3. Restart apache: +# +# sudo apachectl graceful +# + +Define ROOTPATH ${ROOTDIR} + + + ServerName ${TILES_SERVERNAME} + DocumentRoot ${ROOTPATH}/app/data + Options FollowSymLinks + + Header always set Access-Control-Allow-Origin "*" + + + AddOutputFilterByType DEFLATE application/octet-stream + AddOutputFilterByType DEFLATE application/json + AddOutputFilterByType DEFLATE text/csv + + AllowOverride None + Require all granted + +