3 # Based upon the NCSA server configuration files originally by Rob McCool.
5 # This is the main Apache server configuration file. It contains the
6 # configuration directives that give the server its instructions.
7 # See <URL:http://httpd.apache.org/docs-2.0/> for detailed information about
10 # Do NOT simply read the instructions in here without understanding
11 # what they do. They're here only as hints or reminders. If you are unsure
12 # consult the online docs. You have been warned.
14 # The configuration directives are grouped into three basic sections:
15 # 1. Directives that control the operation of the Apache server process as a
16 # whole (the 'global environment').
17 # 2. Directives that define the parameters of the 'main' or 'default' server,
18 # which responds to requests that aren't handled by a virtual host.
19 # These directives also provide default values for the settings
20 # of all virtual hosts.
21 # 3. Settings for virtual hosts, which allow Web requests to be sent to
22 # different IP addresses or hostnames and have them handled by the
23 # same Apache server process.
25 # Configuration and logfile names: If the filenames you specify for many
26 # of the server's control files begin with "/" (or "drive:/" for Win32), the
27 # server will use that explicit path. If the filenames do *not* begin
28 # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
29 # with ServerRoot set to "/mnt/elba/rubbos/apache2" will be interpreted by the
30 # server as "/mnt/elba/rubbos/apache2/logs/foo.log".
33 ### Section 1: Global Environment
35 # The directives in this section affect the overall operation of Apache,
36 # such as the number of concurrent requests it can handle or where it
37 # can find its configuration files.
41 # ServerRoot: The top of the directory tree under which the server's
42 # configuration, error, and log files are kept.
44 # NOTE! If you intend to place this on an NFS (or otherwise network)
45 # mounted filesystem then please read the LockFile documentation (available
46 # at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
47 # you will save yourself a lot of trouble.
49 # Do NOT add a slash at the end of the directory path.
51 #ServerRoot "/mnt/elba/rubbos/apache2"
52 ServerRoot "/bottlenecks/rubbos/app/apache2"
55 # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
57 <IfModule !mpm_winnt.c>
58 <IfModule !mpm_netware.c>
59 #LockFile logs/accept.lock
64 # ScoreBoardFile: File used to store internal server process information.
65 # If unspecified (the default), the scoreboard will be stored in an
66 # anonymous shared memory segment, and will be unavailable to third-party
68 # If specified, ensure that no two invocations of Apache share the same
69 # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
71 <IfModule !mpm_netware.c>
72 <IfModule !perchild.c>
73 #ScoreBoardFile logs/apache_runtime_status
79 # PidFile: The file in which the server should record its process
80 # identification number when it starts.
82 <IfModule !mpm_netware.c>
83 PidFile logs/httpd.pid
87 # Timeout: The number of seconds before receives and sends time out.
92 # KeepAlive: Whether or not to allow persistent connections (more than
93 # one request per connection). Set to "Off" to deactivate.
99 # MaxKeepAliveRequests: The maximum number of requests to allow
100 # during a persistent connection. Set to 0 to allow an unlimited amount.
101 # We recommend you leave this number high, for maximum performance.
103 MaxKeepAliveRequests 100
106 # KeepAliveTimeout: Number of seconds to wait for the next request from the
107 # same client on the same connection.
112 ## Server-Pool Size Regulation (MPM specific)
116 # StartServers: number of server processes to start
117 # MinSpareServers: minimum number of server processes which are kept spare
118 # MaxSpareServers: maximum number of server processes which are kept spare
119 # MaxClients: maximum number of server processes allowed to start
120 # MaxRequestsPerChild: maximum number of requests a server process serves
127 MaxRequestsPerChild 0
131 # StartServers: initial number of server processes to start
132 # MaxClients: maximum number of simultaneous client connections
133 # MinSpareThreads: minimum number of worker threads which are kept spare
134 # MaxSpareThreads: maximum number of worker threads which are kept spare
135 # ThreadsPerChild: constant number of worker threads in each server process
136 # MaxRequestsPerChild: maximum number of requests a server process serves
145 MaxRequestsPerChild 0
149 # NumServers: constant number of server processes
150 # StartThreads: initial number of worker threads in each server process
151 # MinSpareThreads: minimum number of worker threads which are kept spare
152 # MaxSpareThreads: maximum number of worker threads which are kept spare
153 # MaxThreadsPerChild: maximum number of worker threads in each server process
154 # MaxRequestsPerChild: maximum number of connections per server process
155 <IfModule perchild.c>
160 MaxThreadsPerChild 20
161 MaxRequestsPerChild 0
165 # ThreadsPerChild: constant number of worker threads in the server process
166 # MaxRequestsPerChild: maximum number of requests a server process serves
167 <IfModule mpm_winnt.c>
169 MaxRequestsPerChild 0
173 # StartThreads: how many threads do we initially spawn?
174 # MaxClients: max number of threads we can have (1 thread == 1 client)
175 # MaxRequestsPerThread: maximum number of requests each thread will process
179 MaxRequestsPerThread 10000
183 # ThreadStackSize: Stack size allocated for each worker thread
184 # StartThreads: Number of worker threads launched at server startup
185 # MinSpareThreads: Minimum number of idle threads, to handle request spikes
186 # MaxSpareThreads: Maximum number of idle threads
187 # MaxThreads: Maximum number of worker threads alive at the same time
188 # MaxRequestsPerChild: Maximum number of requests a thread serves. It is
189 # recommended that the default value of 0 be set for this
190 # directive on NetWare. This will allow the thread to
191 # continue to service requests indefinitely.
192 <IfModule mpm_netware.c>
193 ThreadStackSize 65536
198 MaxRequestsPerChild 0
203 # StartServers: Number of server processes to maintain
204 # MinSpareThreads: Minimum number of idle threads per process,
205 # to handle request spikes
206 # MaxSpareThreads: Maximum number of idle threads per process
207 # MaxRequestsPerChild: Maximum number of connections per server process
208 <IfModule mpmt_os2.c>
212 MaxRequestsPerChild 0
216 # Listen: Allows you to bind Apache to specific IP addresses and/or
217 # ports, instead of the default. See also the <VirtualHost>
220 # Change this to Listen on specific IP addresses as shown below to
221 # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
223 #Listen 12.34.56.78:80
228 # Dynamic Shared Object (DSO) Support
230 # To be able to use the functionality of a module which was built as a DSO you
231 # have to place corresponding `LoadModule' lines at this location so the
232 # directives contained in it are actually available _before_ they are used.
233 # Statically compiled modules (those listed by `httpd -l') do not need
237 # LoadModule foo_module modules/mod_foo.so
241 # ExtendedStatus controls whether Apache will generate "full" status
242 # information (ExtendedStatus On) or just basic information (ExtendedStatus
243 # Off) when the "server-status" handler is called. The default is Off.
247 ### Section 2: 'Main' server configuration
249 # The directives in this section set up the values used by the 'main'
250 # server, which responds to any requests that aren't handled by a
251 # <VirtualHost> definition. These values also provide defaults for
252 # any <VirtualHost> containers you may define later in the file.
254 # All of these directives may appear inside <VirtualHost> containers,
255 # in which case these default settings will be overridden for the
256 # virtual host being defined.
259 <IfModule !mpm_winnt.c>
260 <IfModule !mpm_netware.c>
262 # If you wish httpd to run as a different user or group, you must run
263 # httpd as root initially and it will switch.
265 # User/Group: The name (or #number) of the user/group to run httpd as.
266 # . On SCO (ODT 3) use "User nouser" and "Group nogroup".
267 # . On HPUX you may not be able to use shared memory as nobody, and the
268 # suggested workaround is to create a user www and use that user.
269 # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
270 # when the value of (unsigned)Group is above 60000;
271 # don't use Group #-1 on these systems!
279 # ServerAdmin: Your address, where problems with the server should be
280 # e-mailed. This address appears on some server-generated pages, such
281 # as error documents. e.g. admin@your-domain.com
283 ServerAdmin you@example.com
286 # ServerName gives the name and port that the server uses to identify itself.
287 # This can often be determined automatically, but we recommend you specify
288 # it explicitly to prevent problems during startup.
290 # If this is not set to valid DNS name for your host, server-generated
291 # redirections will not work. See also the UseCanonicalName directive.
293 # If your host doesn't have a registered DNS name, enter its IP address here.
294 # You will have to access it by its address anyway, and this will make
295 # redirections work in a sensible way.
297 #ServerName www.example.com:80
300 # UseCanonicalName: Determines how Apache constructs self-referencing
301 # URLs and the SERVER_NAME and SERVER_PORT variables.
302 # When set "Off", Apache will use the Hostname and Port supplied
303 # by the client. When set "On", Apache will use the value of the
304 # ServerName directive.
309 # DocumentRoot: The directory out of which you will serve your
310 # documents. By default, all requests are taken from this directory, but
311 # symbolic links and aliases may be used to point to other locations.
313 #DocumentRoot "/mnt/elba/rubbos/apache2/htdocs"
314 DocumentRoot "/bottlenecks/rubbos/app/apache2/htdocs"
317 # Each directory to which Apache has access can be configured with respect
318 # to which services and features are allowed and/or disabled in that
319 # directory (and its subdirectories).
321 # First, we configure the "default" to be a very restrictive set of
325 Options FollowSymLinks
330 # Note that from this point forward you must specifically allow
331 # particular features to be enabled - so if something's not working as
332 # you might expect, make sure that you have specifically enabled it
337 # This should be changed to whatever you set DocumentRoot to.
339 <Directory "/bottlenecks/rubbos/app/apache2/htdocs">
342 # Possible values for the Options directive are "None", "All",
343 # or any combination of:
344 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
346 # Note that "MultiViews" must be named *explicitly* --- "Options All"
347 # doesn't give it to you.
349 # The Options directive is both complicated and important. Please see
350 # http://httpd.apache.org/docs-2.0/mod/core.html#options
351 # for more information.
353 Options Indexes FollowSymLinks
356 # AllowOverride controls what directives may be placed in .htaccess files.
357 # It can be "All", "None", or any combination of the keywords:
358 # Options FileInfo AuthConfig Limit
363 # Controls who can get stuff from this server.
371 # UserDir: The name of the directory that is appended onto a user's home
372 # directory if a ~user request is received.
377 # Control access to UserDir directories. The following is an example
378 # for a site where these directories are restricted to read-only.
380 #<Directory /home/*/public_html>
381 # AllowOverride FileInfo AuthConfig Limit Indexes
382 # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
383 # <Limit GET POST OPTIONS PROPFIND>
387 # <LimitExcept GET POST OPTIONS PROPFIND>
394 # DirectoryIndex: sets the file that Apache will serve if a directory
397 # The index.html.var file (a type-map) is used to deliver content-
398 # negotiated documents. The MultiViews Option can be used for the
399 # same purpose, but it is much slower.
401 DirectoryIndex index.html index.html.var
404 # AccessFileName: The name of the file to look for in each directory
405 # for additional configuration directives. See also the AllowOverride
408 AccessFileName .htaccess
411 # The following lines prevent .htaccess and .htpasswd files from being
412 # viewed by Web clients.
420 # TypesConfig describes where the mime.types file (or equivalent) is
423 TypesConfig conf/mime.types
426 # DefaultType is the default MIME type the server will use for a document
427 # if it cannot otherwise determine one, such as from filename extensions.
428 # If your server contains mostly text or HTML documents, "text/plain" is
429 # a good value. If most of your content is binary, such as applications
430 # or images, you may want to use "application/octet-stream" instead to
431 # keep browsers from trying to display binary files as though they are
434 DefaultType text/plain
437 # The mod_mime_magic module allows the server to use various hints from the
438 # contents of the file itself to determine its type. The MIMEMagicFile
439 # directive tells the module where the hint definitions are located.
441 <IfModule mod_mime_magic.c>
442 MIMEMagicFile conf/magic
446 # HostnameLookups: Log the names of clients or just their IP addresses
447 # e.g., www.apache.org (on) or 204.62.129.132 (off).
448 # The default is off because it'd be overall better for the net if people
449 # had to knowingly turn this feature on, since enabling it means that
450 # each client request will result in AT LEAST one lookup request to the
456 # EnableMMAP: Control whether memory-mapping is used to deliver
457 # files (assuming that the underlying OS supports it).
458 # The default is on; turn this off if you serve from NFS-mounted
459 # filesystems. On some systems, turning it off (regardless of
460 # filesystem) can improve performance; for details, please see
461 # http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
466 # EnableSendfile: Control whether the sendfile kernel support is
467 # used to deliver files (assuming that the OS supports it).
468 # The default is on; turn this off if you serve from NFS-mounted
469 # filesystems. Please see
470 # http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
475 # ErrorLog: The location of the error log file.
476 # If you do not specify an ErrorLog directive within a <VirtualHost>
477 # container, error messages relating to that virtual host will be
478 # logged here. If you *do* define an error logfile for a <VirtualHost>
479 # container, that host's errors will be logged there and not here.
481 ErrorLog logs/error_log
484 # LogLevel: Control the number of messages logged to the error_log.
485 # Possible values include: debug, info, notice, warn, error, crit,
491 # The following directives define some format nicknames for use with
492 # a CustomLog directive (see below).
494 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
495 LogFormat "%h %l %u %t \"%r\" %>s %b" common
496 LogFormat "%{Referer}i -> %U" referer
497 LogFormat "%{User-agent}i" agent
499 # You need to enable mod_logio.c to use %I and %O
500 #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
503 # The location and format of the access logfile (Common Logfile Format).
504 # If you do not define any access logfiles within a <VirtualHost>
505 # container, they will be logged here. Contrariwise, if you *do*
506 # define per-<VirtualHost> access logfiles, transactions will be
507 # logged therein and *not* in this file.
509 CustomLog logs/access_log common
512 # If you would like to have agent and referer logfiles, uncomment the
513 # following directives.
515 #CustomLog logs/referer_log referer
516 #CustomLog logs/agent_log agent
519 # If you prefer a single logfile with access, agent, and referer information
520 # (Combined Logfile Format) you can use the following directive.
522 #CustomLog logs/access_log combined
526 # This directive configures what you return as the Server HTTP response
527 # Header. The default is 'Full' which sends information about the OS-Type
528 # and compiled in modules.
529 # Set to one of: Full | OS | Minor | Minimal | Major | Prod
530 # where Full conveys the most information, and Prod the least.
535 # Optionally add a line containing the server version and virtual host
536 # name to server-generated pages (internal error documents, FTP directory
537 # listings, mod_status and mod_info output etc., but not CGI generated
538 # documents or custom error documents).
539 # Set to "EMail" to also include a mailto: link to the ServerAdmin.
540 # Set to one of: On | Off | EMail
545 # Aliases: Add here as many aliases as you need (with no limit). The format is
546 # Alias fakename realname
548 # Note that if you include a trailing / on fakename then the server will
549 # require it to be present in the URL. So "/icons" isn't aliased in this
550 # example, only "/icons/". If the fakename is slash-terminated, then the
551 # realname must also be slash terminated, and if the fakename omits the
552 # trailing slash, the realname must also omit it.
554 # We include the /icons/ alias for FancyIndexed directory listings. If you
555 # do not use FancyIndexing, you may comment this out.
557 Alias /icons/ "/bottlenecks/rubbos/app/apache2/icons/"
559 <Directory "/bottlenecks/rubbos/app/apache2/icons">
560 Options Indexes MultiViews
567 # This should be changed to the ServerRoot/manual/. The alias provides
568 # the manual, even if you choose to move your DocumentRoot. You may comment
569 # this out if you do not care for the documentation.
571 AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "/bottlenecks/rubbos/app/apache2/manual$1"
573 <Directory "/bottlenecks/rubbos/app/apache2/manual">
583 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1
584 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
588 # ScriptAlias: This controls which directories contain server scripts.
589 # ScriptAliases are essentially the same as Aliases, except that
590 # documents in the realname directory are treated as applications and
591 # run by the server when requested rather than as documents sent to the client.
592 # The same rules about trailing "/" apply to ScriptAlias directives as to
595 ScriptAlias /cgi-bin/ "/bottlenecks/rubbos/app/apache2/cgi-bin/"
597 <IfModule mod_cgid.c>
599 # Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
600 # for setting UNIX socket for communicating with cgid.
602 #Scriptsock logs/cgisock
606 # "/mnt/elba/rubbos/apache2/cgi-bin" should be changed to whatever your ScriptAliased
607 # CGI directory exists, if you have that configured.
609 <Directory "/bottlenecks/rubbos/app/apache2/cgi-bin">
617 # Redirect allows you to tell clients about documents which used to exist in
618 # your server's namespace, but do not anymore. This allows you to tell the
619 # clients where to look for the relocated document.
621 # Redirect permanent /foo http://www.example.com/bar
624 # Directives controlling the display of server-generated directory listings.
628 # IndexOptions: Controls the appearance of server-generated directory
631 IndexOptions FancyIndexing VersionSort
634 # AddIcon* directives tell the server which icon to show for different
635 # files or filename extensions. These are only displayed for
636 # FancyIndexed directories.
638 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
640 AddIconByType (TXT,/icons/text.gif) text/*
641 AddIconByType (IMG,/icons/image2.gif) image/*
642 AddIconByType (SND,/icons/sound2.gif) audio/*
643 AddIconByType (VID,/icons/movie.gif) video/*
645 AddIcon /icons/binary.gif .bin .exe
646 AddIcon /icons/binhex.gif .hqx
647 AddIcon /icons/tar.gif .tar
648 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
649 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
650 AddIcon /icons/a.gif .ps .ai .eps
651 AddIcon /icons/layout.gif .html .shtml .htm .pdf
652 AddIcon /icons/text.gif .txt
653 AddIcon /icons/c.gif .c
654 AddIcon /icons/p.gif .pl .py
655 AddIcon /icons/f.gif .for
656 AddIcon /icons/dvi.gif .dvi
657 AddIcon /icons/uuencoded.gif .uu
658 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
659 AddIcon /icons/tex.gif .tex
660 AddIcon /icons/bomb.gif core
662 AddIcon /icons/back.gif ..
663 AddIcon /icons/hand.right.gif README
664 AddIcon /icons/folder.gif ^^DIRECTORY^^
665 AddIcon /icons/blank.gif ^^BLANKICON^^
668 # DefaultIcon is which icon to show for files which do not have an icon
671 DefaultIcon /icons/unknown.gif
674 # AddDescription allows you to place a short description after a file in
675 # server-generated indexes. These are only displayed for FancyIndexed
677 # Format: AddDescription "description" filename
679 #AddDescription "GZIP compressed document" .gz
680 #AddDescription "tar archive" .tar
681 #AddDescription "GZIP compressed tar archive" .tgz
684 # ReadmeName is the name of the README file the server will look for by
685 # default, and append to directory listings.
687 # HeaderName is the name of a file which should be prepended to
689 ReadmeName README.html
690 HeaderName HEADER.html
693 # IndexIgnore is a set of filenames which directory indexing should ignore
694 # and not include in the listing. Shell-style wildcarding is permitted.
696 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
699 # DefaultLanguage and AddLanguage allows you to specify the language of
700 # a document. You can then use content negotiation to give a browser a
701 # file in a language the user can understand.
703 # Specify a default language. This means that all data
704 # going out without a specific language tag (see below) will
705 # be marked with this one. You probably do NOT want to set
706 # this unless you are sure it is correct for all cases.
708 # * It is generally better to not mark a page as
709 # * being a certain language than marking it with the wrong
714 # Note 1: The suffix does not have to be the same as the language
715 # keyword --- those with documents in Polish (whose net-standard
716 # language code is pl) may wish to use "AddLanguage pl .po" to
717 # avoid the ambiguity with the common suffix for perl scripts.
719 # Note 2: The example entries below illustrate that in some cases
720 # the two character 'Language' abbreviation is not identical to
721 # the two character 'Country' code for its country,
722 # E.g. 'Danmark/dk' versus 'Danish/da'.
724 # Note 3: In the case of 'ltz' we violate the RFC by using a three char
725 # specifier. There is 'work in progress' to fix this and get
726 # the reference data for rfc1766 cleaned up.
728 # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
729 # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
730 # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
731 # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
732 # Norwegian (no) - Polish (pl) - Portugese (pt)
733 # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
734 # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
737 AddLanguage cs .cz .cs
757 AddLanguage pt-BR .pt-br
760 AddLanguage zh-CN .zh-cn
761 AddLanguage zh-TW .zh-tw
764 # LanguagePriority allows you to give precedence to some languages
765 # in case of a tie during content negotiation.
767 # Just list the languages in decreasing order of preference. We have
768 # more or less alphabetized them here. You probably want to change this.
770 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
773 # ForceLanguagePriority allows you to serve a result page rather than
774 # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
775 # [in case no accepted languages matched the available variants]
777 ForceLanguagePriority Prefer Fallback
780 # Commonly used filename extensions to character sets. You probably
781 # want to avoid clashes with the language extensions, unless you
782 # are good at carefully testing your setup after each change.
783 # See http://www.iana.org/assignments/character-sets for the
784 # official list of charset names and their respective RFCs.
786 AddCharset ISO-8859-1 .iso8859-1 .latin1
787 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
788 AddCharset ISO-8859-3 .iso8859-3 .latin3
789 AddCharset ISO-8859-4 .iso8859-4 .latin4
790 AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
791 AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
792 AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
793 AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
794 AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
795 AddCharset ISO-2022-JP .iso2022-jp .jis
796 AddCharset ISO-2022-KR .iso2022-kr .kis
797 AddCharset ISO-2022-CN .iso2022-cn .cis
798 AddCharset Big5 .Big5 .big5
799 # For russian, more than one charset is used (depends on client, mostly):
800 AddCharset WINDOWS-1251 .cp-1251 .win-1251
801 AddCharset CP866 .cp866
802 AddCharset KOI8-r .koi8-r .koi8-ru
803 AddCharset KOI8-ru .koi8-uk .ua
804 AddCharset ISO-10646-UCS-2 .ucs2
805 AddCharset ISO-10646-UCS-4 .ucs4
806 AddCharset UTF-8 .utf8
808 # The set below does not map to a specific (iso) standard
809 # but works on a fairly wide range of browsers. Note that
810 # capitalization actually matters (it should not, but it
811 # does for some browsers).
813 # See http://www.iana.org/assignments/character-sets
814 # for a list of sorts. But browsers support few.
816 AddCharset GB2312 .gb2312 .gb
817 AddCharset utf-7 .utf7
818 AddCharset utf-8 .utf8
819 AddCharset big5 .big5 .b5
820 AddCharset EUC-TW .euc-tw
821 AddCharset EUC-JP .euc-jp
822 AddCharset EUC-KR .euc-kr
823 AddCharset shift_jis .sjis
826 # AddType allows you to add to or override the MIME configuration
827 # file mime.types for specific file types.
829 #AddType application/x-tar .tgz
831 # AddEncoding allows you to have certain browsers uncompress
832 # information on the fly. Note: Not all browsers support this.
833 # Despite the name similarity, the following Add* directives have nothing
834 # to do with the FancyIndexing customization directives above.
836 #AddEncoding x-compress .Z
837 #AddEncoding x-gzip .gz .tgz
839 # If the AddEncoding directives above are commented-out, then you
840 # probably should define those extensions to indicate media types:
842 AddType application/x-compress .Z
843 AddType application/x-gzip .gz .tgz
846 # AddHandler allows you to map certain file extensions to "handlers":
847 # actions unrelated to filetype. These can be either built into the server
848 # or added with the Action directive (see below)
850 # To use CGI scripts outside of ScriptAliased directories:
851 # (You will also need to add "ExecCGI" to the "Options" directive.)
853 #AddHandler cgi-script .cgi
856 # For files that include their own HTTP headers:
858 #AddHandler send-as-is asis
861 # For server-parsed imagemap files:
863 #AddHandler imap-file map
866 # For type maps (negotiated resources):
867 # (This is enabled by default to allow the Apache "It Worked" page
868 # to be distributed in multiple languages.)
870 AddHandler type-map var
873 # Filters allow you to process content before it is sent to the client.
875 # To parse .shtml files for server-side includes (SSI):
876 # (You will also need to add "Includes" to the "Options" directive.)
878 #AddType text/html .shtml
879 #AddOutputFilter INCLUDES .shtml
882 # Action lets you define media types that will execute a script whenever
883 # a matching file is called. This eliminates the need for repeated URL
884 # pathnames for oft-used CGI file processors.
885 # Format: Action media/type /cgi-script/location
886 # Format: Action handler-name /cgi-script/location
890 # Customizable error responses come in three flavors:
891 # 1) plain text 2) local redirects 3) external redirects
894 #ErrorDocument 500 "The server made a boo boo."
895 #ErrorDocument 404 /missing.html
896 #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
897 #ErrorDocument 402 http://www.example.com/subscription_info.html
901 # Putting this all together, we can internationalize error responses.
903 # We use Alias to redirect any /error/HTTP_<error>.html.var response to
904 # our collection of by-error message multi-language collections. We use
905 # includes to substitute the appropriate text.
907 # You can modify the messages' appearance without changing any of the
908 # default HTTP_<error>.html.var files by adding the line:
910 # Alias /error/include/ "/your/include/path/"
912 # which allows you to create your own set of files by starting with the
913 # /mnt/elba/rubbos/apache2/error/include/ files and copying them to /your/include/path/,
914 # even on a per-VirtualHost basis. The default include files will display
915 # your Apache version number and your ServerAdmin email address regardless
916 # of the setting of ServerSignature.
918 # The internationalized error documents require mod_alias, mod_include
919 # and mod_negotiation. To activate them, uncomment the following 30 lines.
921 # Alias /error/ "/mnt/elba/rubbos/apache2/error/"
923 # <Directory "/mnt/elba/rubbos/apache2/error">
925 # Options IncludesNoExec
926 # AddOutputFilter Includes html
927 # AddHandler type-map var
930 # LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
931 # ForceLanguagePriority Prefer Fallback
934 # ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
935 # ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
936 # ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
937 # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
938 # ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
939 # ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
940 # ErrorDocument 410 /error/HTTP_GONE.html.var
941 # ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
942 # ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
943 # ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
944 # ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
945 # ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
946 # ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
947 # ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
948 # ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
949 # ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
950 # ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
954 # The following directives modify normal HTTP response behavior to
955 # handle known problems with browser implementations.
957 BrowserMatch "Mozilla/2" nokeepalive
958 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
959 BrowserMatch "RealPlayer 4\.0" force-response-1.0
960 BrowserMatch "Java/1\.0" force-response-1.0
961 BrowserMatch "JDK/1\.0" force-response-1.0
964 # The following directive disables redirects on non-GET requests for
965 # a directory that does not include the trailing slash. This fixes a
966 # problem with Microsoft WebFolders which does not appropriately handle
967 # redirects for folders with DAV methods.
968 # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
970 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
971 BrowserMatch "^WebDrive" redirect-carefully
972 BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
973 BrowserMatch "^gnome-vfs" redirect-carefully
976 # Allow server status reports generated by mod_status,
977 # with the URL of http://servername/server-status
978 # Change the ".example.com" to match your domain to enable.
980 #<Location /server-status>
981 # SetHandler server-status
984 # Allow from .example.com
988 # Allow remote server configuration reports, with the URL of
989 # http://servername/server-info (requires that mod_info.c be loaded).
990 # Change the ".example.com" to match your domain to enable.
992 #<Location /server-info>
993 # SetHandler server-info
996 # Allow from .example.com
1001 # Bring in additional module-specific configurations
1003 <IfModule mod_ssl.c>
1004 Include conf/ssl.conf
1008 ### Section 3: Virtual Hosts
1010 # VirtualHost: If you want to maintain multiple domains/hostnames on your
1011 # machine you can setup VirtualHost containers for them. Most configurations
1012 # use only name-based virtual hosts so the server doesn't need to worry about
1013 # IP addresses. This is indicated by the asterisks in the directives below.
1015 # Please see the documentation at
1016 # <URL:http://httpd.apache.org/docs-2.0/vhosts/>
1017 # for further details before you try to setup virtual hosts.
1019 # You may use the command line option '-S' to verify your virtual host
1023 # Use name-based virtual hosting.
1025 #NameVirtualHost *:80
1028 # VirtualHost example:
1029 # Almost any Apache directive may go into a VirtualHost container.
1030 # The first VirtualHost section is used for requests without a known
1034 # ServerAdmin webmaster@dummy-host.example.com
1035 # DocumentRoot /www/docs/dummy-host.example.com
1036 # ServerName dummy-host.example.com
1037 # ErrorLog logs/dummy-host.example.com-error_log
1038 # CustomLog logs/dummy-host.example.com-access_log common
1043 LoadModule jk_module "/bottlenecks/rubbos/app/apache2/modules/mod_jk.so"
1045 # Where to find workers.properties
1046 JkWorkersFile /bottlenecks/rubbos/app/apache2/conf/workers.properties
1048 # Where to put jk logs
1049 JkLogFile /bottlenecks/rubbos/app/apache2/logs/mod_jk.log
1051 # Set the jk log level [debug/error/info]
1054 # Select the log format
1055 JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
1057 # JkOptions indicate to send SSL KEY SIZE,
1058 JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
1060 # JkRequestLogFormat set the request format
1061 JkRequestLogFormat "%w %V %T"
1063 # Globally deny access to the WEB-INF directory
1064 <LocationMatch '.*WEB-INF.*'>
1070 JkMount /*/servlet/* worker1
1071 JkMount /*.jsp worker1
1072 #JkMount /rubbos worker1
1073 #JkMount /rubbos/* worker1
1076 ServerName localhost