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