1 |
diff -urN smeserver-dl-0.2.3.old/createlinks smeserver-dl-0.2.3/createlinks |
2 |
--- smeserver-dl-0.2.3.old/createlinks 2021-04-19 11:24:44.913864002 +0100 |
3 |
+++ smeserver-dl-0.2.3/createlinks 2021-04-19 11:27:17.320491556 +0100 |
4 |
@@ -7,6 +7,7 @@ |
5 |
|
6 |
foreach my $file (qw( |
7 |
/etc/systemd/system-preset/49-koozali.preset |
8 |
+ /etc/httpd/conf/httpd.conf |
9 |
)) |
10 |
{ |
11 |
templates2events( $file, $event ); |
12 |
@@ -17,7 +18,7 @@ |
13 |
#action specific to this package |
14 |
#event_link('action', $event, '30'); |
15 |
#services we need to restart |
16 |
-#safe_symlink('restart',root/etc/e-smith/events/$event/services2adjust/service); |
17 |
+safe_symlink('restart',"root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
18 |
#and Server Manager panel link |
19 |
#panel_link('somefunction', 'manager'); |
20 |
|
21 |
diff -urN smeserver-dl-0.2.3.old/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 |
22 |
--- smeserver-dl-0.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2021-04-19 11:24:44.913864002 +0100 |
23 |
+++ smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2021-04-19 11:28:35.042321561 +0100 |
24 |
@@ -26,7 +26,7 @@ |
25 |
my $php =<<_EOF; |
26 |
AddType application/x-httpd-php .php |
27 |
|
28 |
-<FilesMatch .php$> |
29 |
+<FilesMatch .php> |
30 |
SetHandler "proxy:unix:/var/run/php-fpm/php74.sock|fcgi://localhost" |
31 |
</FilesMatch> |
32 |
|