Advertisement
Guest User

OpenPhoto Shared Host html folder htaccess

a guest
Jul 18th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. php_value upload_max_filesize 16M
  2. php_value post_max_size 16M
  3. php_value memory_limit 128M
  4. php_value max_execution_time 200
  5. SetEnv htaccessWorking true
  6.  
  7. RewriteEngine on
  8. RewriteBase /
  9. RewriteRule \.ini$ - [F,NC]
  10. RewriteCond %{REQUEST_FILENAME} !-f
  11. RewriteCond %{REQUEST_FILENAME} !-d
  12. RewriteRule ^(.*)\?*$ index.php?__route__=/$1 [L,QSA]
  13.  
  14. AddOutputFilterByType DEFLATE text/plain
  15. AddOutputFilterByType DEFLATE text/html
  16. AddOutputFilterByType DEFLATE text/css
  17. AddOutputFilterByType DEFLATE application/x-javascript
  18. BrowserMatch ^Mozilla/4 gzip-only-text/html
  19. BrowserMatch ^Mozilla/4\.0[678] no-gzip
  20. BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  21.  
  22. ExpiresActive On
  23. ExpiresByType text/javascript "A31536000"
  24. ExpiresByType application/x-javascript "A31536000"
  25. ExpiresByType text/css "A31536000"
  26. ExpiresByType image/x-icon "A31536000"
  27. ExpiresByType image/gif "A604800"
  28. ExpiresByType image/jpg "A604800"
  29. ExpiresByType image/jpeg "A604800"
  30. ExpiresByType image/png "A604800"
  31.  
  32. FileETag MTime Size
  33.  
  34. Options -Indexes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement