Browse Source

Updated .htaccess

Tobias Reich 9 years ago
parent
commit
98f9e6f504
1 changed files with 10 additions and 1 deletions
  1. 10 1
      .htaccess

+ 10 - 1
.htaccess

@@ -1,10 +1,19 @@
 IndexIgnore *
 
+# ---
 # Uncomment these lines to change PHP parameters if you are using the PHP Apache module
+# ---
 #<IfModule mod_php5.c>
 #	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
-#</IfModule>
+#</IfModule>
+
+# ---
+# 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"