1. # -FrontPage-
  2.  
  3. IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
  4.  
  5.  
  6. <Limit GET POST>
  7. order deny,allow
  8. deny from all
  9. allow from all
  10. </Limit>
  11. <Limit PUT DELETE>
  12. order deny,allow
  13. deny from all
  14. </Limit>
  15. AuthName zoomingjapan.com
  16. AuthUserFile /home/zoomingj/public_html/_vti_pvt/service.pwd
  17. AuthGroupFile /home/zoomingj/public_html/_vti_pvt/service.grp
  18.  
  19. # BEGIN W3TC Browser Cache
  20. <IfModule mod_deflate.c>
  21. <IfModule mod_setenvif.c>
  22. BrowserMatch ^Mozilla/4 gzip-only-text/html
  23. BrowserMatch ^Mozilla/4\.0[678] no-gzip
  24. BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  25. BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
  26. </IfModule>
  27. <IfModule mod_headers.c>
  28. Header append Vary User-Agent env=!dont-vary
  29. </IfModule>
  30. <IfModule mod_filter.c>
  31. AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
  32. </IfModule>
  33. </IfModule>
  34. <FilesMatch "\.(css|js|htc|CSS|JS|HTC)$">
  35. FileETag None
  36. <IfModule mod_headers.c>
  37. Header set X-Powered-By "W3 Total Cache/0.9.2.4"
  38. </IfModule>
  39. </FilesMatch>
  40. <FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
  41. FileETag None
  42. <IfModule mod_headers.c>
  43. Header set X-Powered-By "W3 Total Cache/0.9.2.4"
  44. </IfModule>
  45. </FilesMatch>
  46. <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
  47. FileETag None
  48. <IfModule mod_headers.c>
  49. Header set X-Powered-By "W3 Total Cache/0.9.2.4"
  50. </IfModule>
  51. </FilesMatch>
  52. # END W3TC Browser Cache
  53. # BEGIN W3TC Page Cache core
  54. <IfModule mod_rewrite.c>
  55. RewriteEngine On
  56. RewriteBase /
  57. RewriteRule ^(.*\/)?w3tc_rewrite_test$ $1?w3tc_rewrite_test=1 [L]
  58. RewriteCond %{HTTPS} =on
  59. RewriteRule .* - [E=W3TC_SSL:_ssl]
  60. RewriteCond %{SERVER_PORT} =443
  61. RewriteRule .* - [E=W3TC_SSL:_ssl]
  62. RewriteCond %{HTTP:Accept-Encoding} gzip
  63. RewriteRule .* - [E=W3TC_ENC:_gzip]
  64. RewriteCond %{REQUEST_METHOD} !=POST
  65. RewriteCond %{QUERY_STRING} =""
  66. RewriteCond %{HTTP_HOST} =zoomingjapan.com
  67. RewriteCond %{REQUEST_URI} \/$ [OR]
  68. RewriteCond %{REQUEST_URI} (sitemap(_index)?\.xml(\.gz)?|[a-z0-9_\-]+-sitemap([0-9]+)?\.xml(\.gz)?) [NC]
  69. RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail)\.php|\/feed\/|wp-.*\.php|index\.php) [NC,OR]
  70. RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC]
  71. RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC]
  72. RewriteCond %{HTTP_USER_AGENT} !(W3\ Total\ Cache/0\.9\.2\.4|facebookexternalhit|FacebookExternalHit/1\.1|FacebookExternalHit/1\.0) [NC]
  73. RewriteCond "%{DOCUMENT_ROOT}/wp-content/w3tc/pgcache/%{REQUEST_URI}/_index%{ENV:W3TC_UA}%{ENV:W3TC_REF}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}" -f
  74. RewriteRule .* "/wp-content/w3tc/pgcache/%{REQUEST_URI}/_index%{ENV:W3TC_UA}%{ENV:W3TC_REF}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}" [L]
  75. </IfModule>
  76. # END W3TC Page Cache core
  77. # BEGIN WordPress
  78. <IfModule mod_rewrite.c>
  79. RewriteEngine On
  80. RewriteBase /
  81. RewriteRule ^index\.php$ - [L]
  82. RewriteCond %{REQUEST_FILENAME} !-f
  83. RewriteCond %{REQUEST_FILENAME} !-d
  84. RewriteRule . /index.php [L]
  85. </IfModule>
  86.  
  87. # END WordPress