From 98f9e6f504b7f3773d76c6f8f6edc2e3e7d21e85 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 24 Aug 2014 14:21:27 +0200 Subject: [PATCH] Updated .htaccess --- .htaccess | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 9e201d3..257eede 100644 --- a/.htaccess +++ b/.htaccess @@ -1,10 +1,19 @@ IndexIgnore * +# --- # Uncomment these lines to change PHP parameters if you are using the PHP Apache module +# --- # # php_value max_execution_time 200 # php_value post_max_size 200M # php_value upload_max_size 200M # php_value upload_max_filesize 20M # php_value max_file_uploads 100 -# \ No newline at end of file +# + +# --- +# Uncomment these lines when you want to allow access to the Lychee API from different origins +# --- +#Header add Access-Control-Allow-Origin "*" +#Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" +#Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" \ No newline at end of file