diff --git a/CRM/Utils/File.php b/CRM/Utils/File.php index 977b9fc8368e..c2299ec490bc 100644 --- a/CRM/Utils/File.php +++ b/CRM/Utils/File.php @@ -531,6 +531,11 @@ public static function restrictAccess($dir, $overwrite = FALSE) { if (!empty($dir) && is_dir($dir)) { $htaccess = << +# OpenLiteSpeed 1.4.38+ + + RewriteRule .* - [F,L] + + # Apache 2.2 Order allow,deny