Don't like ads? PRO users don't see any ads ;-)
Guest

roundcube

By: a guest on Aug 1st, 2012  |  syntax: None  |  size: 1.55 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. deny from all
  2. # AddDefaultCharset     UTF-8
  3. AddType text/x-component .htc
  4.  
  5. <IfModule mod_php5.c>
  6. php_flag        display_errors  Off
  7. php_flag        log_errors      On
  8. # php_value     error_log       logs/errors
  9.  
  10. php_value       upload_max_filesize     5M
  11. php_value       post_max_size           6M
  12. php_value       memory_limit            64M
  13.  
  14. php_flag        zlib.output_compression         Off
  15. php_flag        magic_quotes_gpc                Off
  16. php_flag        magic_quotes_runtime            Off
  17. php_flag        zend.ze1_compatibility_mode     Off
  18. php_flag        suhosin.session.encrypt         Off
  19.  
  20. #php_value      session.cookie_path             /
  21. php_flag        session.auto_start      Off
  22. php_value       session.gc_maxlifetime  21600
  23. php_value       session.gc_divisor      500
  24. php_value       session.gc_probability  1
  25.  
  26. # http://bugs.php.net/bug.php?id=30766
  27. php_value       mbstring.func_overload  0
  28. </IfModule>
  29.  
  30. <IfModule mod_rewrite.c>
  31. RewriteEngine On
  32. RewriteRule ^favicon\.ico$ skins/default/images/favicon.ico
  33. # security rules
  34. RewriteRule .git/ - [F]
  35. RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F]
  36. </IfModule>
  37.  
  38. <IfModule mod_deflate.c>
  39. SetOutputFilter DEFLATE
  40. </IfModule>
  41.  
  42. <IfModule mod_headers.c>
  43. # replace 'append' with 'merge' for Apache version 2.2.9 and later
  44. #Header append Cache-Control public env=!NO_CACHE
  45. </IfModule>
  46.  
  47. <IfModule mod_expires.c>
  48. ExpiresActive On
  49. ExpiresDefault "access plus 1 month"
  50. </IfModule>
  51.  
  52. FileETag MTime Size
  53.  
  54. <IfModule mod_autoindex.c>
  55. Options -Indexes
  56. </ifModule>