1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule00 mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule00 |
2 |
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule00 2007-05-18 21:29:24.000000000 -0600 |
3 |
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule00 2007-05-18 21:28:54.000000000 -0600 |
4 |
@@ -4,7 +4,8 @@ |
5 |
my $out = ''; |
6 |
foreach (@list) |
7 |
{ |
8 |
- next unless -f "/usr/lib/httpd/modules/mod_${_}.so"; |
9 |
+ next unless -f "/usr/lib/httpd/modules/mod_${_}.so" || |
10 |
+ -f "/usr/lib64/httpd/modules/mod_${_}.so"; |
11 |
$out .= "LoadModule ${_}_module modules/mod_${_}.so\n"; |
12 |
} |
13 |
return $out; |
14 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalPwAuth mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalPwAuth |
15 |
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalPwAuth 2004-11-09 13:36:39.000000000 -0700 |
16 |
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalPwAuth 2007-05-18 21:05:31.000000000 -0600 |
17 |
@@ -1,3 +1,3 @@ |
18 |
-AddExternalAuth pwauth /usr/lib/httpd/modules/pwauth |
19 |
+AddExternalAuth pwauth { -f "/usr/lib64/httpd/modules/pwauth" ? "/usr/lib64/httpd/modules/pwauth" : "/usr/lib/httpd/modules/pwauth" } |
20 |
SetExternalAuthMethod pwauth pipe |
21 |
|