ErrorLog /var/log/apache2/error.log
BufferedLogs on
- # Set Access-Control-Allow-Origin header to allow Cross-origin resource sharing (CORS)
+ # Always set Access-Control-Allow-Origin so that simple CORS requests
+ # will always work and can be cached
Header set Access-Control-Allow-Origin "*"
# Enable the rewrite engine