/[smecontribs]/rpms/smeserver-dl/contribs10/smeserver-dl-0.2.3-Fix-httpd-syntax.patch
ViewVC logotype

Contents of /rpms/smeserver-dl/contribs10/smeserver-dl-0.2.3-Fix-httpd-syntax.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Apr 19 11:03:46 2021 UTC (3 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-dl-0_2_3-6_el7_sme, smeserver-dl-0_2_3-8_el7_sme, smeserver-dl-0_2_3-7_el7_sme, smeserver-dl-0_2_3-4_el7_sme, smeserver-dl-0_2_3-3_el7_sme, smeserver-dl-0_2_3-5_el7_sme, HEAD
* Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-3.sme
- Fix httpd syntax and expand it intially [SME: 11567]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed