1 |
diff -urN smeserver-webshare-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias |
2 |
--- smeserver-webshare-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias 2022-07-22 14:17:49.469953572 +0300 |
3 |
+++ smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias 2022-07-22 14:20:53.570980209 +0300 |
4 |
@@ -21,9 +21,7 @@ |
5 |
} |
6 |
$OUT .= " Options +Indexes\n"; |
7 |
$OUT .= " AllowOverride None\n"; |
8 |
- $OUT .= " order deny,allow\n"; |
9 |
- $OUT .= " deny from all\n"; |
10 |
- $OUT .= " allow from all\n"; |
11 |
+ $OUT .= " Require all granted\n"; |
12 |
$OUT .= " AuthName \"Restricted $key access only\"\n"; |
13 |
$OUT .= " AuthType Basic\n"; |
14 |
$OUT .= " AuthUserFile \/home\/e-smith\/db\/webshare\/htpasswd.$key\n"; |