Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
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.

.htaccess 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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|CHANGELOG|UPGRADING)$ - [F]
  29. RewriteRule ^/?(SQL|bin) - [F]
  30. </IfModule>
  31. <IfModule mod_deflate.c>
  32. SetOutputFilter DEFLATE
  33. </IfModule>
  34. <IfModule mod_headers.c>
  35. # replace 'append' with 'merge' for Apache version 2.2.9 and later
  36. #Header append Cache-Control public env=!NO_CACHE
  37. </IfModule>
  38. <IfModule mod_expires.c>
  39. ExpiresActive On
  40. ExpiresDefault "access plus 1 month"
  41. </IfModule>
  42. FileETag MTime Size
  43. <IfModule mod_autoindex.c>
  44. Options -Indexes
  45. </ifModule>