source: branches/stable/mondo-web/distributions/conf/httpd.conf @ 1222

Last change on this file since 1222 was 1222, checked in by Bruno Cornec, 13 years ago

Preliminary Model for a Web base interface to mondoarchive

File size: 5.4 KB
1# Mondorescue Web configuration file
3# $Id$
5ServerRoot "/etc/mondo/httpd"
6PidFile /var/run/
7Timeout 100
8KeepAlive On
9MaxKeepAliveRequests 100
10KeepAliveTimeout 15
12StartServers 1
13MinSpareServers 1
14MaxSpareServers 1
15ServerLimit 1
16MaxClients 1
17MaxRequestsPerChild 5
20LoadModule include_module modules/
21LoadModule log_config_module modules/
22LoadModule logio_module modules/
23LoadModule env_module modules/
24LoadModule expires_module modules/
25LoadModule headers_module modules/
26LoadModule usertrack_module modules/
27LoadModule setenvif_module modules/
28LoadModule mime_module modules/
29LoadModule autoindex_module modules/
30LoadModule cgi_module modules/
31LoadModule vhost_alias_module modules/
32LoadModule negotiation_module modules/
33LoadModule dir_module modules/
34LoadModule actions_module modules/
35LoadModule alias_module modules/
36LoadModule rewrite_module modules/
38User apache
39Group apache
40ServerAdmin root@localhost
43UseCanonicalName Off
44DocumentRoot "/var/www/html"
45<Directory />
46    Options -All -Multiviews FollowSymLinks Includes
47    AllowOverride None
49<Directory "/var/www/html">
50    Options Indexes FollowSymLinks MultiViews +Includes
51    AllowOverride None
53AccessFileName .htaccess
54TypesConfig mime.types
55DefaultType text/plain
56HostnameLookups Off
57ErrorLog logs/error_log
58LogLevel warn
59LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
60CustomLog logs/access_log common
61ServerTokens OS
62ServerSignature On
63Alias /error/ "/var/www/error/"
64ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
65<Directory "/var/www/cgi-bin">
66    AllowOverride All
67    Options ExecCGI FollowSymLinks
69IndexOptions FancyIndexing VersionSort NameWidth=*
70AddLanguage ca .ca
71AddLanguage cs .cz .cs
72AddLanguage da .dk
73AddLanguage de .de
74AddLanguage el .el
75AddLanguage en .en
76AddLanguage eo .eo
77AddLanguage es .es
78AddLanguage et .et
79AddLanguage fr .fr
80AddLanguage he .he
81AddLanguage hr .hr
82AddLanguage it .it
83AddLanguage ja .ja
84AddLanguage ko .ko
85AddLanguage ltz .ltz
86AddLanguage nl .nl
87AddLanguage nn .nn
88AddLanguage no .no
89AddLanguage pl .po
90AddLanguage pt .pt
91AddLanguage pt-BR .pt-br
92AddLanguage ru .ru
93AddLanguage sv .sv
94AddLanguage zh-CN .zh-cn
95AddLanguage zh-TW .zh-tw
96LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
97AddCharset ISO-8859-1  .iso8859-1  .latin1
98AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
99AddCharset ISO-8859-3  .iso8859-3  .latin3
100AddCharset ISO-8859-4  .iso8859-4  .latin4
101AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
102AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
103AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
104AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
105AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
106AddCharset ISO-2022-JP .iso2022-jp .jis
107AddCharset ISO-2022-KR .iso2022-kr .kis
108AddCharset ISO-2022-CN .iso2022-cn .cis
109AddCharset Big5        .Big5       .big5
110AddCharset WINDOWS-1251 .cp-1251   .win-1251
111AddCharset CP866       .cp866
112AddCharset KOI8-r      .koi8-r .koi8-ru
113AddCharset KOI8-ru     .koi8-uk .ua
114AddCharset ISO-10646-UCS-2 .ucs2
115AddCharset ISO-10646-UCS-4 .ucs4
116AddCharset UTF-8       .utf8
117AddCharset GB2312      .gb2312 .gb
118AddCharset utf-7       .utf7
119AddCharset utf-8       .utf8
120AddCharset big5        .big5 .b5
121AddCharset EUC-TW      .euc-tw
122AddCharset EUC-JP      .euc-jp
123AddCharset EUC-KR      .euc-kr
124AddCharset shift_jis   .sjis
125AddDefaultCharset Off
126AddHandler cgi-script .cgi
127AddType text/html .shtml
128AddOutputFilter INCLUDES .shtml
129<Directory "/var/www/error">
130    AllowOverride None
131    Options IncludesNoExec
132    AddOutputFilter Includes shtml
133    AddHandler type-map var
134    LanguagePriority en es de fr
135    ForceLanguagePriority Prefer Fallback
137ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
138ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
139ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
140ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
141ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
142ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
143ErrorDocument 410 /error/HTTP_GONE.html.var
144ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
145ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
146ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
147ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
148ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
149ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
150ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
151ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
152ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
153ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
154BrowserMatch "Mozilla/2" nokeepalive
155BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
156BrowserMatch "RealPlayer 4\.0" force-response-1.0
157BrowserMatch "Java/1\.0" force-response-1.0
158BrowserMatch "JDK/1\.0" force-response-1.0
159BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
160BrowserMatch "^WebDrive" redirect-carefully
161BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
162BrowserMatch "^gnome-vfs" redirect-carefully
163<Location /index.shtml>
164    Options +Includes
Note: See TracBrowser for help on using the repository browser.