.htaccess 834 B

1234567891011121314151617181920212223242526
  1. Options -Indexes
  2. # ---
  3. # Uncomment these lines to change PHP parameters if you are using the PHP Apache module
  4. # ---
  5. #<IfModule mod_php5.c>
  6. # php_value max_execution_time 200
  7. # php_value post_max_size 200M
  8. # php_value upload_max_size 200M
  9. # php_value upload_max_filesize 20M
  10. # php_value max_file_uploads 100
  11. #</IfModule>
  12. #<IfModule mod_php7.c>
  13. # php_value max_execution_time 200
  14. # php_value post_max_size 200M
  15. # php_value upload_max_size 200M
  16. # php_value upload_max_filesize 20M
  17. # php_value max_file_uploads 100
  18. #</IfModule>
  19. # ---
  20. # Uncomment these lines when you want to allow access to the Lychee API from different origins
  21. # ---
  22. #Header add Access-Control-Allow-Origin "*"
  23. #Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
  24. #Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"