From 529587c0f5fce465664266c88556c2988b2135ef Mon Sep 17 00:00:00 2001
From: OpenXE <>
Date: Fri, 16 Dec 2022 17:35:34 +0000
Subject: [PATCH] Extended .htaccess for setup and inline PDF
---
phpwf/plugins/class.acl.php | 10 ++++++++++
www/.htaccess | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/phpwf/plugins/class.acl.php b/phpwf/plugins/class.acl.php
index ade66435..beb39095 100644
--- a/phpwf/plugins/class.acl.php
+++ b/phpwf/plugins/class.acl.php
@@ -1261,6 +1261,16 @@ Allow from all
Order Allow,Deny
Allow from all
+# Allow access to setup.php
+
+ Order Allow,Deny
+ Allow from all
+
+# Allow access to inline PDF viewer
+
+ Order Allow,Deny
+ Allow from all
+
# end
');
diff --git a/www/.htaccess b/www/.htaccess
index 885fdd46..7a7e5bd7 100644
--- a/www/.htaccess
+++ b/www/.htaccess
@@ -13,4 +13,14 @@ Allow from all
Order Allow,Deny
Allow from all
+# Allow access to setup.php
+
+ Order Allow,Deny
+ Allow from all
+
+# Allow access to inline PDF viewer
+
+ Order Allow,Deny
+ Allow from all
+
# end