1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-manager-1.14.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager |
2 |
|
|
--- e-smith-manager-1.14.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager 2007-01-26 20:51:30.000000000 -0500 |
3 |
|
|
+++ mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager 2007-02-13 12:46:10.000000000 -0500 |
4 |
|
|
@@ -14,36 +14,46 @@ |
5 |
|
|
|
6 |
|
|
ErrorLog /var/log/httpd/admin_error_log |
7 |
|
|
LogLevel warn |
8 |
|
|
+HERE |
9 |
|
|
|
10 |
|
|
-LoadModule env_module modules/mod_env.so |
11 |
|
|
-LoadModule log_config_module modules/mod_log_config.so |
12 |
|
|
-LoadModule mime_module modules/mod_mime.so |
13 |
|
|
-LoadModule negotiation_module modules/mod_negotiation.so |
14 |
|
|
-LoadModule status_module modules/mod_status.so |
15 |
|
|
-LoadModule info_module modules/mod_info.so |
16 |
|
|
-LoadModule include_module modules/mod_include.so |
17 |
|
|
-LoadModule autoindex_module modules/mod_autoindex.so |
18 |
|
|
-LoadModule dir_module modules/mod_dir.so |
19 |
|
|
-LoadModule cgi_module modules/mod_cgi.so |
20 |
|
|
-LoadModule asis_module modules/mod_asis.so |
21 |
|
|
-LoadModule imap_module modules/mod_imap.so |
22 |
|
|
-LoadModule actions_module modules/mod_actions.so |
23 |
|
|
-LoadModule userdir_module modules/mod_userdir.so |
24 |
|
|
-LoadModule proxy_module modules/mod_proxy.so |
25 |
|
|
-LoadModule proxy_http_module modules/mod_proxy_http.so |
26 |
|
|
-LoadModule alias_module modules/mod_alias.so |
27 |
|
|
-LoadModule rewrite_module modules/mod_rewrite.so |
28 |
|
|
-LoadModule access_module modules/mod_access.so |
29 |
|
|
-LoadModule auth_module modules/mod_auth.so |
30 |
|
|
-LoadModule auth_anon_module modules/mod_auth_anon.so |
31 |
|
|
-LoadModule auth_digest_module modules/mod_auth_digest.so |
32 |
|
|
-LoadModule expires_module modules/mod_expires.so |
33 |
|
|
-LoadModule headers_module modules/mod_headers.so |
34 |
|
|
-LoadModule usertrack_module modules/mod_usertrack.so |
35 |
|
|
-LoadModule setenvif_module modules/mod_setenvif.so |
36 |
|
|
- |
37 |
|
|
-LoadModule ssl_module modules/mod_ssl.so |
38 |
|
|
+foreach (qw( |
39 |
|
|
+ env |
40 |
|
|
+ log_config |
41 |
|
|
+ mime |
42 |
|
|
+ negotiation |
43 |
|
|
+ status |
44 |
|
|
+ info |
45 |
|
|
+ include |
46 |
|
|
+ autoindex |
47 |
|
|
+ dir |
48 |
|
|
+ cgi |
49 |
|
|
+ asis |
50 |
|
|
+ imap |
51 |
|
|
+ imagemap |
52 |
|
|
+ actions |
53 |
|
|
+ userdir |
54 |
|
|
+ proxy |
55 |
|
|
+ proxy_http |
56 |
|
|
+ alias |
57 |
|
|
+ rewrite |
58 |
|
|
+ access |
59 |
|
|
+ authz_host |
60 |
|
|
+ authz_user |
61 |
|
|
+ auth |
62 |
|
|
+ auth_anon |
63 |
|
|
+ auth_digest |
64 |
|
|
+ expires |
65 |
|
|
+ headers |
66 |
|
|
+ usertrack |
67 |
|
|
+ setenvif |
68 |
|
|
+ ssl |
69 |
|
|
+ )) |
70 |
|
|
+{ |
71 |
|
|
+ next unless -f "/usr/lib/httpd/modules/mod_${_}.so"; |
72 |
|
|
+ $OUT .= "LoadModule ${_}_module modules/mod_${_}.so\n"; |
73 |
|
|
+} |
74 |
|
|
|
75 |
|
|
+$OUT .= <<HERE; |
76 |
|
|
PidFile /var/run/httpd-admin.pid |
77 |
|
|
ScoreBoardFile /var/run/httpd-admin.scoreboard |
78 |
|
|
UseCanonicalName off |