1 |
slords |
1.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 1969-12-31 19:00:00.000000000 -0500 |
3 |
|
|
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule00 2007-02-13 13:28:13.000000000 -0500 |
4 |
|
|
@@ -0,0 +1,13 @@ |
5 |
|
|
+{ |
6 |
|
|
+ sub load_modules { |
7 |
|
|
+ my @list = @_; |
8 |
|
|
+ my $out = ''; |
9 |
|
|
+ foreach (@list) |
10 |
|
|
+ { |
11 |
|
|
+ next unless -f "/usr/lib/httpd/modules/mod_${_}.so"; |
12 |
|
|
+ $out .= "LoadModule ${_}_module modules/mod_${_}.so\n"; |
13 |
|
|
+ } |
14 |
|
|
+ return $out; |
15 |
|
|
+ } |
16 |
|
|
+ ''; |
17 |
|
|
+} |
18 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule10 mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule10 |
19 |
|
|
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule10 2004-11-09 15:36:38.000000000 -0500 |
20 |
|
|
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule10 2007-02-13 13:28:52.000000000 -0500 |
21 |
|
|
@@ -1,2 +1,3 @@ |
22 |
|
|
-LoadModule env_module modules/mod_env.so |
23 |
|
|
-LoadModule log_config_module modules/mod_log_config.so |
24 |
|
|
+{ |
25 |
|
|
+ $OUT .= load_modules(qw(env log_config)); |
26 |
|
|
+} |
27 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule20 mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule20 |
28 |
|
|
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule20 2003-01-07 10:00:49.000000000 -0500 |
29 |
|
|
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule20 1969-12-31 19:00:00.000000000 -0500 |
30 |
|
|
@@ -1 +0,0 @@ |
31 |
|
|
-#LoadModule mime_magic_module modules/mod_mime_magic.so |
32 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule30 mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule30 |
33 |
|
|
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule30 2004-11-09 15:36:38.000000000 -0500 |
34 |
|
|
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule30 2007-02-13 13:31:29.000000000 -0500 |
35 |
|
|
@@ -1,11 +1,16 @@ |
36 |
|
|
-LoadModule mime_module modules/mod_mime.so |
37 |
|
|
-LoadModule negotiation_module modules/mod_negotiation.so |
38 |
|
|
-LoadModule status_module modules/mod_status.so |
39 |
|
|
-LoadModule info_module modules/mod_info.so |
40 |
|
|
-LoadModule include_module modules/mod_include.so |
41 |
|
|
-LoadModule autoindex_module modules/mod_autoindex.so |
42 |
|
|
-LoadModule dir_module modules/mod_dir.so |
43 |
|
|
-LoadModule cgi_module modules/mod_cgi.so |
44 |
|
|
-LoadModule asis_module modules/mod_asis.so |
45 |
|
|
-LoadModule imap_module modules/mod_imap.so |
46 |
|
|
-LoadModule actions_module modules/mod_actions.so |
47 |
|
|
+{ |
48 |
|
|
+ $OUT .= load_modules(qw( |
49 |
|
|
+ mime |
50 |
|
|
+ negotiation |
51 |
|
|
+ status |
52 |
|
|
+ info |
53 |
|
|
+ include |
54 |
|
|
+ autoindex |
55 |
|
|
+ dir |
56 |
|
|
+ cgi |
57 |
|
|
+ asis |
58 |
|
|
+ imap |
59 |
|
|
+ imagemap |
60 |
|
|
+ actions |
61 |
|
|
+ )); |
62 |
|
|
+} |
63 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule40 mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule40 |
64 |
|
|
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule40 2003-01-07 10:00:49.000000000 -0500 |
65 |
|
|
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule40 1969-12-31 19:00:00.000000000 -0500 |
66 |
|
|
@@ -1 +0,0 @@ |
67 |
|
|
-#LoadModule speling_module modules/mod_speling.so |
68 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule50 mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule50 |
69 |
|
|
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule50 2006-03-14 11:47:18.000000000 -0500 |
70 |
|
|
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule50 2007-02-13 16:36:09.000000000 -0500 |
71 |
|
|
@@ -1,7 +1,13 @@ |
72 |
|
|
-LoadModule proxy_module modules/mod_proxy.so |
73 |
|
|
-LoadModule proxy_http_module modules/mod_proxy_http.so |
74 |
|
|
-LoadModule alias_module modules/mod_alias.so |
75 |
|
|
-LoadModule rewrite_module modules/mod_rewrite.so |
76 |
|
|
-LoadModule access_module modules/mod_access.so |
77 |
|
|
-LoadModule auth_module modules/mod_auth.so |
78 |
|
|
-LoadModule auth_anon_module modules/mod_auth_anon.so |
79 |
|
|
+{ |
80 |
|
|
+ $OUT .= load_modules(qw( |
81 |
|
|
+ proxy |
82 |
|
|
+ proxy_http |
83 |
|
|
+ alias |
84 |
|
|
+ rewrite |
85 |
|
|
+ access |
86 |
|
|
+ authz_host |
87 |
|
|
+ authz_user |
88 |
|
|
+ auth |
89 |
|
|
+ auth_anon |
90 |
|
|
+ )); |
91 |
|
|
+} |
92 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule60 mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule60 |
93 |
|
|
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule60 2004-11-09 15:36:38.000000000 -0500 |
94 |
|
|
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule60 2007-02-13 13:33:44.000000000 -0500 |
95 |
|
|
@@ -1 +1,3 @@ |
96 |
|
|
-LoadModule auth_digest_module modules/mod_auth_digest.so |
97 |
|
|
+{ |
98 |
|
|
+ $OUT .= load_modules(qw(auth_digest)); |
99 |
|
|
+} |
100 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule70 mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule70 |
101 |
|
|
--- e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule70 2003-01-07 10:00:49.000000000 -0500 |
102 |
|
|
+++ mezzanine_patched_e-smith-apache-1.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule70 2007-02-13 13:34:25.000000000 -0500 |
103 |
|
|
@@ -1,6 +1,8 @@ |
104 |
|
|
-LoadModule expires_module modules/mod_expires.so |
105 |
|
|
-LoadModule headers_module modules/mod_headers.so |
106 |
|
|
-LoadModule usertrack_module modules/mod_usertrack.so |
107 |
|
|
-#LoadModule example_module modules/mod_example.so |
108 |
|
|
-#LoadModule unique_id_module modules/mod_unique_id.so |
109 |
|
|
-LoadModule setenvif_module modules/mod_setenvif.so |
110 |
|
|
+{ |
111 |
|
|
+ $OUT .= load_modules(qw( |
112 |
|
|
+ expires |
113 |
|
|
+ headers |
114 |
|
|
+ usertrack |
115 |
|
|
+ setenvif |
116 |
|
|
+ )); |
117 |
|
|
+} |