Guest User

.htsaccess.backup Content

a guest
Aug 14th, 2024
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. # BEGIN LSCACHE
  2. ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
  3. <IfModule LiteSpeed>
  4. RewriteEngine on
  5. CacheLookup on
  6. RewriteRule .* - [E=Cache-Control:no-autoflush]
  7. RewriteRule \.litespeed_conf\.dat - [F,L]
  8.  
  9. ### marker ASYNC start ###
  10. RewriteCond %{REQUEST_URI} /wp-admin/admin-ajax\.php
  11. RewriteCond %{QUERY_STRING} action=async_litespeed
  12. RewriteRule .* - [E=noabort:1]
  13. ### marker ASYNC end ###
  14.  
  15. ### marker CACHE RESOURCE start ###
  16. RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
  17. ### marker CACHE RESOURCE end ###
  18.  
  19. ### marker DROPQS start ###
  20. CacheKeyModify -qs:fbclid
  21. CacheKeyModify -qs:gclid
  22. CacheKeyModify -qs:utm*
  23. CacheKeyModify -qs:_ga
  24. ### marker DROPQS end ###
  25.  
  26. </IfModule>
  27. ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
  28. # END LSCACHE
  29. # BEGIN NON_LSCACHE
  30. ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
  31. ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
  32. # END NON_LSCACHE
  33.  
  34. # BEGIN All In One WP Security
  35. #AIOWPS_BASIC_HTACCESS_RULES_START
  36. <Files .htaccess>
  37. <IfModule mod_authz_core.c>
  38. Require all denied
  39. </IfModule>
  40. <IfModule !mod_authz_core.c>
  41. Order deny,allow
  42. Deny from all
  43. </IfModule>
  44. </Files>
  45. ServerSignature Off
  46. LimitRequestBody 10485760
  47. <Files wp-config.php>
  48. <IfModule mod_authz_core.c>
  49. Require all denied
  50. </IfModule>
  51. <IfModule !mod_authz_core.c>
  52. Order deny,allow
  53. Deny from all
  54. </IfModule>
  55. </Files>
  56. #AIOWPS_BASIC_HTACCESS_RULES_END
  57. #AIOWPS_DEBUG_LOG_BLOCK_HTACCESS_RULES_START
  58. <Files debug.log>
  59. <IfModule mod_authz_core.c>
  60. Require all denied
  61. </IfModule>
  62. <IfModule !mod_authz_core.c>
  63. Order deny,allow
  64. Deny from all
  65. </IfModule>
  66. </Files>
  67. #AIOWPS_DEBUG_LOG_BLOCK_HTACCESS_RULES_END
  68. #AIOWPS_DISABLE_INDEX_VIEWS_START
  69. Options -Indexes
  70. #AIOWPS_DISABLE_INDEX_VIEWS_END
  71. #AIOWPS_DISABLE_TRACE_TRACK_START
  72. <IfModule mod_rewrite.c>
  73. RewriteEngine On
  74. RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
  75. RewriteRule .* - [F]
  76. </IfModule>
  77. #AIOWPS_DISABLE_TRACE_TRACK_END
  78. #AIOWPS_PREVENT_IMAGE_HOTLINKS_START
  79. <IfModule mod_rewrite.c>
  80. RewriteEngine On
  81. RewriteCond %{HTTP_REFERER} !^$
  82. RewriteCond %{REQUEST_FILENAME} -f
  83. RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC]
  84. RewriteCond %{HTTP_REFERER} !^http(s)?://djfs\.co\.seneca\.oh\.us [NC]
  85. RewriteRule \.(gif|jpe?g?|png)$ - [F,NC,L]
  86. </IfModule>
  87. #AIOWPS_PREVENT_IMAGE_HOTLINKS_END
  88. # END All In One WP Security
  89.  
  90. # BEGIN WordPress
  91. # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
  92. # dynamically generated, and should only be modified via WordPress filters.
  93. # Any changes to the directives between these markers will be overwritten.
  94. <IfModule mod_rewrite.c>
  95. RewriteEngine On
  96. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  97. RewriteBase /
  98. RewriteRule ^index\.php$ - [L]
  99. RewriteCond %{REQUEST_FILENAME} !-f
  100. RewriteCond %{REQUEST_FILENAME} !-d
  101. RewriteRule . /index.php [L]
  102. </IfModule>
  103.  
  104. # END WordPress
  105.  
Advertisement
Add Comment
Please, Sign In to add comment