1 |
slords |
1.1 |
diff -urN smeserver-isoqlog-2.2.1.p1/root/etc/httpd/isoqlog-conf/httpd.conf smeserver-isoqlog-2.2.1/root/etc/httpd/isoqlog-conf/httpd.conf |
2 |
|
|
--- smeserver-isoqlog-2.2.1.p1/root/etc/httpd/isoqlog-conf/httpd.conf 1969-12-31 19:00:00.000000000 -0500 |
3 |
|
|
+++ smeserver-isoqlog-2.2.1/root/etc/httpd/isoqlog-conf/httpd.conf 2012-08-31 00:47:27.000000000 -0400 |
4 |
|
|
@@ -0,0 +1,203 @@ |
5 |
|
|
+#------------------------------------------------------------ |
6 |
|
|
+# !!DO NOT MODIFY THIS FILE!! |
7 |
|
|
+# |
8 |
|
|
+# Manual changes will be lost when this file is regenerated. |
9 |
|
|
+# |
10 |
|
|
+# Please read the developer's guide, which is available |
11 |
|
|
+# at http://www.contribs.org/development/ |
12 |
|
|
+# |
13 |
|
|
+# Copyright (C) 1999-2006 Mitel Networks Corporation |
14 |
|
|
+#------------------------------------------------------------ |
15 |
|
|
+ |
16 |
|
|
+ |
17 |
|
|
+ |
18 |
|
|
+ |
19 |
|
|
+ |
20 |
|
|
+ |
21 |
|
|
+LoadModule auth_tkt_module modules/mod_auth_tkt.so |
22 |
|
|
+TKTAuthSecret "34322500-7330-4400-423A-3A00434F5245" |
23 |
|
|
+ |
24 |
|
|
+ |
25 |
|
|
+ |
26 |
|
|
+Listen 127.0.0.1:942 |
27 |
|
|
+ |
28 |
|
|
+HostnameLookups off |
29 |
|
|
+ |
30 |
|
|
+ServerAdmin admin |
31 |
|
|
+ServerRoot /etc/httpd |
32 |
|
|
+ServerTokens ProductOnly |
33 |
|
|
+ |
34 |
|
|
+User isoqlog |
35 |
|
|
+Group isoqlog |
36 |
|
|
+ |
37 |
|
|
+ErrorLog /var/log/httpd/isoqlog_error_log |
38 |
|
|
+LogLevel warn |
39 |
|
|
+LoadModule env_module modules/mod_env.so |
40 |
|
|
+LoadModule log_config_module modules/mod_log_config.so |
41 |
|
|
+LoadModule mime_module modules/mod_mime.so |
42 |
|
|
+LoadModule negotiation_module modules/mod_negotiation.so |
43 |
|
|
+LoadModule status_module modules/mod_status.so |
44 |
|
|
+LoadModule info_module modules/mod_info.so |
45 |
|
|
+LoadModule include_module modules/mod_include.so |
46 |
|
|
+LoadModule autoindex_module modules/mod_autoindex.so |
47 |
|
|
+LoadModule dir_module modules/mod_dir.so |
48 |
|
|
+LoadModule asis_module modules/mod_asis.so |
49 |
|
|
+LoadModule imagemap_module modules/mod_imagemap.so |
50 |
|
|
+LoadModule actions_module modules/mod_actions.so |
51 |
|
|
+LoadModule userdir_module modules/mod_userdir.so |
52 |
|
|
+LoadModule proxy_module modules/mod_proxy.so |
53 |
|
|
+LoadModule proxy_http_module modules/mod_proxy_http.so |
54 |
|
|
+LoadModule alias_module modules/mod_alias.so |
55 |
|
|
+LoadModule rewrite_module modules/mod_rewrite.so |
56 |
|
|
+LoadModule authz_host_module modules/mod_authz_host.so |
57 |
|
|
+LoadModule authz_user_module modules/mod_authz_user.so |
58 |
|
|
+LoadModule auth_digest_module modules/mod_auth_digest.so |
59 |
|
|
+LoadModule expires_module modules/mod_expires.so |
60 |
|
|
+LoadModule headers_module modules/mod_headers.so |
61 |
|
|
+LoadModule usertrack_module modules/mod_usertrack.so |
62 |
|
|
+LoadModule setenvif_module modules/mod_setenvif.so |
63 |
|
|
+LoadModule ssl_module modules/mod_ssl.so |
64 |
|
|
+LoadModule cgi_module modules/mod_cgi.so |
65 |
|
|
+LoadModule php5_module modules/libphp5.so |
66 |
|
|
+ |
67 |
|
|
+<IfModule mod_php4.c> |
68 |
|
|
+ AddIcon /icons/php4.gif .php3 .php4 .php .phtml |
69 |
|
|
+ AddIcon /icons/phps.gif .phps |
70 |
|
|
+</IfModule> |
71 |
|
|
+ |
72 |
|
|
+<IfModule mod_php5.c> |
73 |
|
|
+ AddIcon /icons/php5.gif .php3 .php4 .php5 .php .phtml |
74 |
|
|
+ AddIcon /icons/phps.gif .phps |
75 |
|
|
+</IfModule> |
76 |
|
|
+ |
77 |
|
|
+ |
78 |
|
|
+PidFile /var/run/httpd-isoqlog.pid |
79 |
|
|
+ScoreBoardFile /var/run/httpd-isoqlog.scoreboard |
80 |
|
|
+UseCanonicalName off |
81 |
|
|
+LogFormat "%h %l %u %t \"%r\" %>s %b" common |
82 |
|
|
+LogFormat "%{User-agent}i" agent |
83 |
|
|
+ |
84 |
|
|
+CustomLog /var/log/httpd/isoqlog_access_log common |
85 |
|
|
+ |
86 |
|
|
+KeepAlive On |
87 |
|
|
+MaxKeepAliveRequests 100 |
88 |
|
|
+KeepAliveTimeout 15 |
89 |
|
|
+ |
90 |
|
|
+MaxClients 150 |
91 |
|
|
+MaxRequestsPerChild 100 |
92 |
|
|
+ |
93 |
|
|
+ServerName localhost |
94 |
|
|
+ |
95 |
|
|
+MinSpareServers 1 |
96 |
|
|
+MaxSpareServers 5 |
97 |
|
|
+StartServers 1 |
98 |
|
|
+Timeout 300 |
99 |
|
|
+ |
100 |
|
|
+DefaultIcon /icons/unknown.gif |
101 |
|
|
+DirectoryIndex index.htm index.html index.php index.cgi |
102 |
|
|
+IndexOptions FancyIndexing VersionSort NameWidth=* |
103 |
|
|
+IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t |
104 |
|
|
+AccessFileName .htaccess |
105 |
|
|
+ |
106 |
|
|
+AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip |
107 |
|
|
+AddIconByType (TXT,/icons/text.gif) text/* |
108 |
|
|
+AddIconByType (IMG,/icons/image2.gif) image/* |
109 |
|
|
+AddIconByType (SND,/icons/sound2.gif) audio/* |
110 |
|
|
+AddIconByType (VID,/icons/movie.gif) video/* |
111 |
|
|
+DefaultType text/plain |
112 |
|
|
+TypesConfig /etc/mime.types |
113 |
|
|
+ |
114 |
|
|
+AddEncoding x-compress Z |
115 |
|
|
+AddEncoding x-gzip gz |
116 |
|
|
+ |
117 |
|
|
+AddIcon /icons/binary.gif .bin .exe |
118 |
|
|
+AddIcon /icons/binhex.gif .hqx |
119 |
|
|
+AddIcon /icons/tar.gif .tar |
120 |
|
|
+AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv |
121 |
|
|
+AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip |
122 |
|
|
+AddIcon /icons/a.gif .ps .ai .eps |
123 |
|
|
+AddIcon /icons/layout.gif .html .shtml .htm .pdf |
124 |
|
|
+AddIcon /icons/text.gif .txt |
125 |
|
|
+AddIcon /icons/c.gif .c |
126 |
|
|
+AddIcon /icons/p.gif .pl .py |
127 |
|
|
+AddIcon /icons/f.gif .for |
128 |
|
|
+AddIcon /icons/dvi.gif .dvi |
129 |
|
|
+AddIcon /icons/uuencoded.gif .uu |
130 |
|
|
+AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl |
131 |
|
|
+AddIcon /icons/tex.gif .tex |
132 |
|
|
+AddIcon /icons/bomb.gif core |
133 |
|
|
+ |
134 |
|
|
+AddIcon /icons/back.gif .. |
135 |
|
|
+AddIcon /icons/hand.right.gif README |
136 |
|
|
+AddIcon /icons/folder.gif ^^DIRECTORY^^ |
137 |
|
|
+AddIcon /icons/blank.gif ^^BLANKICON^^ |
138 |
|
|
+ |
139 |
|
|
+AddLanguage en .en |
140 |
|
|
+AddLanguage fr .fr |
141 |
|
|
+AddLanguage de .de |
142 |
|
|
+AddLanguage da .da |
143 |
|
|
+AddLanguage el .el |
144 |
|
|
+AddLanguage it .it |
145 |
|
|
+ |
146 |
|
|
+LanguagePriority en fr de |
147 |
|
|
+ |
148 |
|
|
+AddType text/html .shtml |
149 |
|
|
+AddType application/x-pkcs7-crl .crl |
150 |
|
|
+ |
151 |
|
|
+AddType application/x-x509-ca-cert .crt |
152 |
|
|
+ |
153 |
|
|
+BrowserMatch "Mozilla/2" nokeepalive |
154 |
|
|
+BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0 |
155 |
|
|
+BrowserMatch "RealPlayer 4.0" force-response-1.0 |
156 |
|
|
+BrowserMatch "Java/1.0" force-response-1.0 |
157 |
|
|
+BrowserMatch "JDK/1.0" force-response-1.0 |
158 |
|
|
+ |
159 |
|
|
+AddHandler cgi-script .cgi |
160 |
|
|
+AddHandler server-parsed .shtml |
161 |
|
|
+AddHandler imap-file map |
162 |
|
|
+ |
163 |
|
|
+DocumentRoot /var/lib/qmailtools/isoqlog/htdocs |
164 |
|
|
+ |
165 |
|
|
+ |
166 |
|
|
+ |
167 |
|
|
+ |
168 |
|
|
+# First, we configure the "default" to be a very restrictive set of |
169 |
|
|
+# permissions. |
170 |
|
|
+ |
171 |
|
|
+<Directory /> |
172 |
|
|
+ Options None |
173 |
|
|
+ AllowOverride None |
174 |
|
|
+ order deny,allow |
175 |
|
|
+ deny from all |
176 |
|
|
+ allow from none |
177 |
|
|
+</Directory> |
178 |
|
|
+ |
179 |
|
|
+ |
180 |
|
|
+ |
181 |
|
|
+ |
182 |
|
|
+Alias /isoqlog /var/lib/qmailtools/isoqlog/htdocs |
183 |
|
|
+ |
184 |
|
|
+# Main access allowed for valid user |
185 |
|
|
+<Directory /var/lib/qmailtools/isoqlog/htdocs> |
186 |
|
|
+ AddType application/x-httpd-php .php |
187 |
|
|
+ Options FollowSymLinks |
188 |
|
|
+ php_flag register_globals off |
189 |
|
|
+ php_flag register_long_arrays on |
190 |
|
|
+ php_admin_value session.save_path /var/lib/php/isoqlog-session |
191 |
|
|
+ php_admin_value openbase_dir /var/lib/qmailtools/isoqlog/htdocs:/var/lib/php/isoqlog-session |
192 |
|
|
+ AllowOverride None |
193 |
|
|
+ order deny,allow |
194 |
|
|
+ deny from all |
195 |
|
|
+ allow from 127.0.0.1 |
196 |
|
|
+</Directory> |
197 |
|
|
+ |
198 |
|
|
+# /ca is only allowed for admin and explicitely authorized users |
199 |
|
|
+<Location /isoqlog> |
200 |
|
|
+ AuthName "Isoqlog Admin" |
201 |
|
|
+ AuthType Basic |
202 |
|
|
+ TKTAuthLoginURL /server-common/cgi-bin/login |
203 |
|
|
+ require user admin |
204 |
|
|
+ SetEnv IMGHDR_SRC "/server-common/server-manager.jpg" |
205 |
|
|
+ Satisfy all |
206 |
|
|
+</Location> |
207 |
|
|
+ |