RoundCube Webmail
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.3 KiB

20 years ago
  1. # AddDefaultCharset UTF-8
  2. AddType text/x-component .htc
  3. <IfModule mod_php5.c>
  4. php_flag display_errors Off
  5. php_flag log_errors On
  6. # php_value error_log logs/errors
  7. php_value upload_max_filesize 5M
  8. php_value post_max_size 6M
  9. php_value memory_limit 64M
  10. php_flag zlib.output_compression Off
  11. php_flag magic_quotes_gpc Off
  12. php_flag magic_quotes_runtime Off
  13. php_flag zend.ze1_compatibility_mode Off
  14. php_flag suhosin.session.encrypt Off
  15. #php_value session.cookie_path /
  16. php_flag session.auto_start Off
  17. php_value session.gc_maxlifetime 21600
  18. php_value session.gc_divisor 500
  19. php_value session.gc_probability 1
  20. # http://bugs.php.net/bug.php?id=30766
  21. php_value mbstring.func_overload 0
  22. </IfModule>
  23. <IfModule mod_rewrite.c>
  24. RewriteEngine On
  25. RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
  26. # security rules
  27. RewriteRule .git - [F]
  28. RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|SQL|bin|CHANGELOG)$ - [F]
  29. </IfModule>
  30. <IfModule mod_deflate.c>
  31. SetOutputFilter DEFLATE
  32. </IfModule>
  33. <IfModule mod_headers.c>
  34. # replace 'append' with 'merge' for Apache version 2.2.9 and later
  35. #Header append Cache-Control public env=!NO_CACHE
  36. </IfModule>
  37. <IfModule mod_expires.c>
  38. ExpiresActive On
  39. ExpiresDefault "access plus 1 month"
  40. </IfModule>
  41. FileETag MTime Size
  42. <IfModule mod_autoindex.c>
  43. Options -Indexes
  44. </ifModule>