.htaccess 594 B

12345678910111213141516171819202122
  1. AddDefaultCharset utf-8
  2. <FilesMatch "\.(log)$">
  3. Require all denied
  4. </FilesMatch>
  5. <IfModule mod_deflate.c>
  6. SetOutputFilter DEFLATE
  7. SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
  8. </IfModule>
  9. <IfModule mod_rewrite.c>
  10. RewriteEngine On
  11. RewriteRule ^(.*)$ index.php?s=$1 [QSA,L]
  12. </IfModule>
  13. # post_max_size should be greater then upload_max_filesize
  14. # otherwise there will be no feedback and it looks like
  15. # nothing has happened
  16. # if post is greater than post_max_size set in php.ini, no feedback is given...
  17. php_value post_max_size 2M
  18. php_value upload_max_filesize 1M