53 |
$OUT .= "<\/Directory>\n"; |
$OUT .= "<\/Directory>\n"; |
54 |
$OUT .= "\n"; |
$OUT .= "\n"; |
55 |
} |
} |
56 |
|
diff -Nur --no-dereference smeserver-webshare-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile |
57 |
|
--- smeserver-webshare-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile 2022-08-02 00:02:54.839000000 -0400 |
58 |
|
+++ smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile 1969-12-31 19:00:00.000000000 -0500 |
59 |
|
@@ -1,4 +0,0 @@ |
60 |
|
-{ |
61 |
|
- $OUT .= load_modules(qw(auth_basic)); |
62 |
|
- $OUT .= load_modules(qw(authn_file)); |
63 |
|
-} |
64 |
|
diff -Nur --no-dereference 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 |
65 |
|
--- smeserver-webshare-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias 2022-08-02 00:02:54.856000000 -0400 |
66 |
|
+++ smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias 2022-08-02 00:05:30.150000000 -0400 |
67 |
|
@@ -9,16 +9,7 @@ |
68 |
|
$OUT .= "# webshare\/$key\n"; |
69 |
|
$OUT .= "Alias \/webshare\/$key \/opt\/webshare\/$key\n"; |
70 |
|
$OUT .= "<Directory \/opt\/webshare\/$key>\n"; |
71 |
|
- { |
72 |
|
- use esmith::util; |
73 |
|
- my $release = esmith::util::determineRelease(); |
74 |
|
- if ( "$release" ge "7.0" ) { |
75 |
|
- $OUT .= " SSLRequireSSL\n"; |
76 |
|
- } |
77 |
|
- else { |
78 |
|
- $OUT .= " RequireSSL on\n"; |
79 |
|
- } |
80 |
|
- } |
81 |
|
+ $OUT .= " SSLRequireSSL\n"; |
82 |
|
$OUT .= " Options +Indexes\n"; |
83 |
|
$OUT .= " AllowOverride None\n"; |
84 |
|
$OUT .= " Require all granted\n"; |