--- rpms/smeserver-webshare/contribs10/smeserver-webshare-1.0.0-sme10-backup.patch 2022/08/02 03:58:05 1.3 +++ rpms/smeserver-webshare/contribs10/smeserver-webshare-1.0.0-sme10-backup.patch 2022/08/02 04:06:37 1.4 @@ -53,3 +53,32 @@ diff -Nur --no-dereference smeserver-web $OUT .= "<\/Directory>\n"; $OUT .= "\n"; } +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 +--- 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 ++++ smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80AuthFile 1969-12-31 19:00:00.000000000 -0500 +@@ -1,4 +0,0 @@ +-{ +- $OUT .= load_modules(qw(auth_basic)); +- $OUT .= load_modules(qw(authn_file)); +-} +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 +--- 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 ++++ smeserver-webshare-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86WebShareAlias 2022-08-02 00:05:30.150000000 -0400 +@@ -9,16 +9,7 @@ + $OUT .= "# webshare\/$key\n"; + $OUT .= "Alias \/webshare\/$key \/opt\/webshare\/$key\n"; + $OUT .= "\n"; +- { +- use esmith::util; +- my $release = esmith::util::determineRelease(); +- if ( "$release" ge "7.0" ) { +- $OUT .= " SSLRequireSSL\n"; +- } +- else { +- $OUT .= " RequireSSL on\n"; +- } +- } ++ $OUT .= " SSLRequireSSL\n"; + $OUT .= " Options +Indexes\n"; + $OUT .= " AllowOverride None\n"; + $OUT .= " Require all granted\n";