1 |
jcrisp |
1.1 |
diff -ruN smeserver-dl-0.2.3.orig/root/etc/e-smith/templates/etc/dl.php/60ClamScan smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/dl.php/60ClamScan |
2 |
|
|
--- smeserver-dl-0.2.3.orig/root/etc/e-smith/templates/etc/dl.php/60ClamScan 2021-12-03 15:18:21.697468959 +0000 |
3 |
|
|
+++ smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/dl.php/60ClamScan 2021-12-03 15:18:41.159406248 +0000 |
4 |
|
|
@@ -16,7 +16,7 @@ |
5 |
|
|
# 1MB of margin to be sure we don't go over clamd limit |
6 |
|
|
$limit -= 1024 * 1024; |
7 |
|
|
$OUT .=<<"EOF"; |
8 |
|
|
-\$clamdSocket = 'unix:///var/clamav/clamd.socket'; |
9 |
|
|
+\$clamdSocket = 'unix:///var/run/clam/clamd.socket'; |
10 |
|
|
\$scanMax = $limit; |
11 |
|
|
EOF |
12 |
|
|
} |
13 |
|
|
diff -ruN smeserver-dl-0.2.3.orig/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl |
14 |
|
|
--- smeserver-dl-0.2.3.orig/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2021-12-03 15:18:21.698469007 +0000 |
15 |
|
|
+++ smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2021-12-03 15:18:51.527905598 +0000 |
16 |
|
|
@@ -45,7 +45,7 @@ |
17 |
|
|
if ($fastcgi_mod eq 'mod_fastcgi'){ |
18 |
|
|
$php = " AddHandler phpdl-fastcgi .php\n"; |
19 |
|
|
} |
20 |
|
|
- elsif ($fascgi_mod eq 'mod_proxy_fcgi'){ |
21 |
|
|
+ elsif ($fastcgi_mod eq 'mod_proxy_fcgi'){ |
22 |
|
|
$php =<<'_EOF'; |
23 |
|
|
<FilesMatch \.php$> |
24 |
|
|
SetHandler "proxy:unix:/var/run/php-fpm/php__PHP_VERSION__-dl.sock|fcgi://localhost" |