Htaccess_Backup_for_new.waldorf_obuda.hu (5).txt

Plain Text Detected Guest 4 Views Size: 7.62 KB Posted on: Feb 18, 26 @ 1:55 PM
  1. # BEGIN WpFastestCache
  2. # Modified Time: 13-02-26 15:02:58
  3. <IfModule mod_rewrite.c>
  4. RewriteEngine On
  5. RewriteBase /
  6. RewriteCond %{HTTPS} on
  7. RewriteCond %{HTTP_HOST} ^new.waldorf-obuda.hu
  8. # Start WPFC Exclude
  9. # End WPFC Exclude
  10. # Start_WPFC_Exclude_Admin_Cookie
  11. RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=kenez.imola|wo_admin
  12. # End_WPFC_Exclude_Admin_Cookie
  13. RewriteCond %{HTTP_HOST} ^new.waldorf-obuda.hu
  14. RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
  15. RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
  16. RewriteCond %{REQUEST_METHOD} !POST
  17. RewriteCond %{REQUEST_URI} !(\/){2,}
  18. RewriteCond %{THE_REQUEST} !(\/){2,}
  19. RewriteCond %{REQUEST_URI} \/$
  20. RewriteCond %{QUERY_STRING} !.+ [OR]
  21. RewriteCond %{QUERY_STRING} fbclid=
  22. RewriteCond %{HTTP:Cookie} !comment_author_
  23. RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
  24. RewriteCond %{HTTP_USER_AGENT} !^.*\bCrMo\b|CriOS|Android.*Chrome\/[.0-9]*\s(Mobile)?|\bDolfin\b|Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR\/[0-9.]+|Coast\/[0-9.]+|Skyfire|Mobile\sSafari\/[.0-9]*\sEdge|IEMobile|MSIEMobile|fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS|bolt|teashark|Blazer|Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari|Tizen|UC.*Browser|UCWEB|baiduboxapp|baidubrowser|DiigoBrowser|Puffin|\bMercury\b|Obigo|NF-Browser|NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger|Android.*PaleMoon|Mobile.*PaleMoon|Android|blackberry|\bBB10\b|rim\stablet\sos|PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino|Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\bS60\b|Windows\sCE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window\sMobile|Windows\sPhone\s[0-9.]+|WCE;|Windows\sPhone\s10.0|Windows\sPhone\s8.1|Windows\sPhone\s8.0|Windows\sPhone\sOS|XBLWP7|ZuneWP7|Windows\sNT\s6\.[23]\;\sARM\;|\biPhone.*Mobile|\biPod|\biPad|Apple-iPhone7C2|MeeGo|Maemo|J2ME\/|\bMIDP\b|\bCLDC\b|webOS|hpwOS|\bBada\b|BREW.*$ [NC]
  25. RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
  26. RewriteCond /home/waldorfo/domains/new.waldorf-obuda.hu/public_html/wp-content/cache/all/$1/index.html -f
  27. RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
  28. ##### mobile #####
  29. RewriteEngine On
  30. RewriteBase /
  31. RewriteCond %{HTTPS} on
  32. RewriteCond %{HTTP_HOST} ^new.waldorf-obuda.hu
  33. # Start WPFC Exclude
  34. # End WPFC Exclude
  35. # Start_WPFC_Exclude_Admin_Cookie
  36. RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=kenez.imola|wo_admin
  37. # End_WPFC_Exclude_Admin_Cookie
  38. RewriteCond %{HTTP_HOST} ^new.waldorf-obuda.hu
  39. RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
  40. RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
  41. RewriteCond %{REQUEST_METHOD} !POST
  42. RewriteCond %{REQUEST_URI} !(\/){2,}
  43. RewriteCond %{THE_REQUEST} !(\/){2,}
  44. RewriteCond %{REQUEST_URI} \/$
  45. RewriteCond %{QUERY_STRING} !.+ [OR]
  46. RewriteCond %{QUERY_STRING} fbclid=
  47. RewriteCond %{HTTP:Cookie} !comment_author_
  48. RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
  49. RewriteCond %{HTTP_USER_AGENT} ^.*\bCrMo\b|CriOS|Android.*Chrome\/[.0-9]*\s(Mobile)?|\bDolfin\b|Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR\/[0-9.]+|Coast\/[0-9.]+|Skyfire|Mobile\sSafari\/[.0-9]*\sEdge|IEMobile|MSIEMobile|fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS|bolt|teashark|Blazer|Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari|Tizen|UC.*Browser|UCWEB|baiduboxapp|baidubrowser|DiigoBrowser|Puffin|\bMercury\b|Obigo|NF-Browser|NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger|Android.*PaleMoon|Mobile.*PaleMoon|Android|blackberry|\bBB10\b|rim\stablet\sos|PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino|Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\bS60\b|Windows\sCE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window\sMobile|Windows\sPhone\s[0-9.]+|WCE;|Windows\sPhone\s10.0|Windows\sPhone\s8.1|Windows\sPhone\s8.0|Windows\sPhone\sOS|XBLWP7|ZuneWP7|Windows\sNT\s6\.[23]\;\sARM\;|\biPhone.*Mobile|\biPod|\biPad|Apple-iPhone7C2|MeeGo|Maemo|J2ME\/|\bMIDP\b|\bCLDC\b|webOS|hpwOS|\bBada\b|BREW.*$ [NC]
  50. RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/wpfc-mobile-cache/$1/index.html -f [or]
  51. RewriteCond /home/waldorfo/domains/new.waldorf-obuda.hu/public_html/wp-content/cache/wpfc-mobile-cache/$1/index.html -f
  52. RewriteRule ^(.*) "/wp-content/cache/wpfc-mobile-cache/$1/index.html" [L]
  53. ##### mobile #####
  54. </IfModule>
  55. <FilesMatch "index\.(html|htm)$">
  56. AddDefaultCharset UTF-8
  57. <ifModule mod_headers.c>
  58. FileETag None
  59. Header unset ETag
  60. Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
  61. Header set Pragma "no-cache"
  62. Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
  63. </ifModule>
  64. </FilesMatch>
  65. # END WpFastestCache
  66. # BEGIN LBCWpFastestCache
  67. <FilesMatch "\.(webm|ogg|mp4|ico|pdf|flv|avif|jpg|jpeg|png|gif|webp|js|css|swf|x-html|xml|woff|woff2|otf|ttf|svg|eot)(\.gz)?$">
  68. <IfModule mod_expires.c>
  69. AddType application/font-woff2 .woff2
  70. AddType application/x-font-opentype .otf
  71. ExpiresActive On
  72. ExpiresDefault A0
  73. ExpiresByType video/webm A10368000
  74. ExpiresByType video/ogg A10368000
  75. ExpiresByType video/mp4 A10368000
  76. ExpiresByType image/avif A10368000
  77. ExpiresByType image/webp A10368000
  78. ExpiresByType image/gif A10368000
  79. ExpiresByType image/png A10368000
  80. ExpiresByType image/jpg A10368000
  81. ExpiresByType image/jpeg A10368000
  82. ExpiresByType image/ico A10368000
  83. ExpiresByType image/svg+xml A10368000
  84. ExpiresByType text/css A10368000
  85. ExpiresByType text/javascript A10368000
  86. ExpiresByType application/javascript A10368000
  87. ExpiresByType application/x-javascript A10368000
  88. ExpiresByType application/font-woff2 A10368000
  89. ExpiresByType application/x-font-opentype A10368000
  90. ExpiresByType application/x-font-truetype A10368000
  91. </IfModule>
  92. <IfModule mod_headers.c>
  93. Header set Expires "max-age=A10368000, public"
  94. Header unset ETag
  95. Header set Connection keep-alive
  96. FileETag None
  97. </IfModule>
  98. </FilesMatch>
  99. # END LBCWpFastestCache
  100.  
  101.  
  102. # BEGIN WEBPWpFastestCache
  103. <IfModule mod_rewrite.c>
  104. RewriteEngine On
  105. RewriteCond %{HTTP_ACCEPT} image/webp
  106. RewriteCond %{REQUEST_URI} \.(jpe?g|png)
  107. RewriteCond %{DOCUMENT_ROOT}/$1.webp -f [or]
  108. RewriteCond /home/waldorfo/domains/new.waldorf-obuda.hu/public_html/$1.webp -f
  109. RewriteRule ^(.*) "/$1.webp" [L]
  110. </IfModule>
  111. <IfModule mod_headers.c>
  112. Header append Vary Accept env=REDIRECT_accept
  113. </IfModule>
  114. AddType image/webp .webp
  115. # END WEBPWpFastestCache
  116.  
  117.  
  118.  
  119.  
  120. # BEGIN LSCACHE
  121. # END LSCACHE
  122. # BEGIN NON_LSCACHE
  123. # END NON_LSCACHE
  124.  
  125. # BEGIN WordPress
  126. # A `BEGIN WordPress` és az `END WordPress` sorok közötti tartalom dinamikusan lett létrehozva, és csak WordPress szűrők módosíthatják. E kettő sor közötti bármilyen kézi módosítás el fog veszni.
  127. <IfModule mod_rewrite.c>
  128. RewriteEngine On
  129. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  130. RewriteBase /
  131. RewriteRule ^index\.php$ - [L]
  132. RewriteCond %{REQUEST_FILENAME} !-f
  133. RewriteCond %{REQUEST_FILENAME} !-d
  134. RewriteRule . /index.php [L]
  135. </IfModule>
  136.  
  137. # END WordPress
  138.  
  139. # Wordfence WAF
  140. <IfModule LiteSpeed>
  141. php_value auto_prepend_file '/home/waldorfo/domains/new.waldorf-obuda.hu/public_html/wordfence-waf.php'
  142. </IfModule>
  143. <IfModule lsapi_module>
  144. php_value auto_prepend_file '/home/waldorfo/domains/new.waldorf-obuda.hu/public_html/wordfence-waf.php'
  145. </IfModule>
  146. <Files ".user.ini">
  147. <IfModule mod_authz_core.c>
  148.         Require all denied
  149. </IfModule>
  150. <IfModule !mod_authz_core.c>
  151.         Order deny,allow
  152.         Deny from all
  153. </IfModule>
  154. </Files>
  155.  
  156. # END Wordfence WAF

Raw Paste

Comments 0
Login to post a comment.
  • No comments yet. Be the first.
Login to post a comment. Login or Register
We use cookies. To comply with GDPR in the EU and the UK we have to show you these.

We use cookies and similar technologies to keep this website functional (including spam protection via Google reCAPTCHA or Cloudflare Turnstile), and — with your consent — to measure usage and show ads. See Privacy.