2 # Based upon the NCSA server configuration files originally by Rob McCool.
4 # This is the main Apache server configuration file. It contains the
5 # configuration directives that give the server its instructions.
6 # See <URL:http://httpd.apache.org/docs/2.0/> for detailed information about
9 # Do NOT simply read the instructions in here without understanding
10 # what they do. They're here only as hints or reminders. If you are unsure
11 # consult the online docs. You have been warned.
13 # The configuration directives are grouped into three basic sections:
14 # 1. Directives that control the operation of the Apache server process as a
15 # whole (the 'global environment').
16 # 2. Directives that define the parameters of the 'main' or 'default' server,
17 # which responds to requests that aren't handled by a virtual host.
18 # These directives also provide default values for the settings
19 # of all virtual hosts.
20 # 3. Settings for virtual hosts, which allow Web requests to be sent to
21 # different IP addresses or hostnames and have them handled by the
22 # same Apache server process.
24 # Configuration and logfile names: If the filenames you specify for many
25 # of the server's control files begin with "/" (or "drive:/" for Win32), the
26 # server will use that explicit path. If the filenames do *not* begin
27 # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
28 # with ServerRoot set to "@@ServerRoot@@" will be interpreted by the
29 # server as "@@ServerRoot@@/logs/foo.log".
32 ### Section 1: Global Environment
34 # The directives in this section affect the overall operation of Apache,
35 # such as the number of concurrent requests it can handle or where it
36 # can find its configuration files.
40 # ServerRoot: The top of the directory tree under which the server's
41 # configuration, error, and log files are kept.
43 # NOTE! If you intend to place this on an NFS (or otherwise network)
44 # mounted filesystem then please read the LockFile documentation (available
45 # at <URL:http://httpd.apache.org/docs/2.0/mod/mpm_common.html#lockfile>);
46 # you will save yourself a lot of trouble.
48 # Do NOT add a slash at the end of the directory path.
50 ServerRoot "@@ServerRoot@@"
53 # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
55 <IfModule !mpm_winnt.c>
56 <IfModule !mpm_netware.c>
57 #LockFile logs/accept.lock
62 # ScoreBoardFile: File used to store internal server process information.
63 # If unspecified (the default), the scoreboard will be stored in an
64 # anonymous shared memory segment, and will be unavailable to third-party
66 # If specified, ensure that no two invocations of Apache share the same
67 # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
69 <IfModule !mpm_netware.c>
70 <IfModule !perchild.c>
71 #ScoreBoardFile logs/apache_runtime_status
77 # PidFile: The file in which the server should record its process
78 # identification number when it starts.
80 <IfModule !mpm_netware.c>
81 PidFile logs/httpd.pid
85 # Timeout: The number of seconds before receives and sends time out.
90 # KeepAlive: Whether or not to allow persistent connections (more than
91 # one request per connection). Set to "Off" to deactivate.
96 # MaxKeepAliveRequests: The maximum number of requests to allow
97 # during a persistent connection. Set to 0 to allow an unlimited amount.
98 # We recommend you leave this number high, for maximum performance.
100 MaxKeepAliveRequests 100
103 # KeepAliveTimeout: Number of seconds to wait for the next request from the
104 # same client on the same connection.
109 ## Server-Pool Size Regulation (MPM specific)
113 # StartServers: number of server processes to start
114 # MinSpareServers: minimum number of server processes which are kept spare
115 # MaxSpareServers: maximum number of server processes which are kept spare
116 # MaxClients: maximum number of server processes allowed to start
117 # MaxRequestsPerChild: maximum number of requests a server process serves
123 MaxRequestsPerChild 0
127 # StartServers: initial number of server processes to start
128 # MaxClients: maximum number of simultaneous client connections
129 # MinSpareThreads: minimum number of worker threads which are kept spare
130 # MaxSpareThreads: maximum number of worker threads which are kept spare
131 # ThreadsPerChild: constant number of worker threads in each server process
132 # MaxRequestsPerChild: maximum number of requests a server process serves
139 MaxRequestsPerChild 0
143 # NumServers: constant number of server processes
144 # StartThreads: initial number of worker threads in each server process
145 # MinSpareThreads: minimum number of worker threads which are kept spare
146 # MaxSpareThreads: maximum number of worker threads which are kept spare
147 # MaxThreadsPerChild: maximum number of worker threads in each server process
148 # MaxRequestsPerChild: maximum number of connections per server process
149 <IfModule perchild.c>
154 MaxThreadsPerChild 20
155 MaxRequestsPerChild 0
159 # ThreadsPerChild: constant number of worker threads in the server process
160 # MaxRequestsPerChild: maximum number of requests a server process serves
161 <IfModule mpm_winnt.c>
163 MaxRequestsPerChild 0
167 # StartThreads: how many threads do we initially spawn?
168 # MaxClients: max number of threads we can have (1 thread == 1 client)
169 # MaxRequestsPerThread: maximum number of requests each thread will process
173 MaxRequestsPerThread 10000
177 # ThreadStackSize: Stack size allocated for each worker thread
178 # StartThreads: Number of worker threads launched at server startup
179 # MinSpareThreads: Minimum number of idle threads, to handle request spikes
180 # MaxSpareThreads: Maximum number of idle threads
181 # MaxThreads: Maximum number of worker threads alive at the same time
182 # MaxRequestsPerChild: Maximum number of requests a thread serves. It is
183 # recommended that the default value of 0 be set for this
184 # directive on NetWare. This will allow the thread to
185 # continue to service requests indefinitely.
186 <IfModule mpm_netware.c>
187 ThreadStackSize 65536
192 MaxRequestsPerChild 0
197 # StartServers: Number of server processes to maintain
198 # MinSpareThreads: Minimum number of idle threads per process,
199 # to handle request spikes
200 # MaxSpareThreads: Maximum number of idle threads per process
201 # MaxRequestsPerChild: Maximum number of connections per server process
202 <IfModule mpmt_os2.c>
206 MaxRequestsPerChild 0
210 # Listen: Allows you to bind Apache to specific IP addresses and/or
211 # ports, instead of the default. See also the <VirtualHost>
214 # Change this to Listen on specific IP addresses as shown below to
215 # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
217 #Listen 12.34.56.78:80
222 # Dynamic Shared Object (DSO) Support
224 # To be able to use the functionality of a module which was built as a DSO you
225 # have to place corresponding `LoadModule' lines at this location so the
226 # directives contained in it are actually available _before_ they are used.
227 # Statically compiled modules (those listed by `httpd -l') do not need
231 # LoadModule foo_module modules/mod_foo.so
236 # ExtendedStatus controls whether Apache will generate "full" status
237 # information (ExtendedStatus On) or just basic information (ExtendedStatus
238 # Off) when the "server-status" handler is called. The default is Off.
242 ### Section 2: 'Main' server configuration
244 # The directives in this section set up the values used by the 'main'
245 # server, which responds to any requests that aren't handled by a
246 # <VirtualHost> definition. These values also provide defaults for
247 # any <VirtualHost> containers you may define later in the file.
249 # All of these directives may appear inside <VirtualHost> containers,
250 # in which case these default settings will be overridden for the
251 # virtual host being defined.
254 <IfModule !mpm_winnt.c>
255 <IfModule !mpm_netware.c>
257 # If you wish httpd to run as a different user or group, you must run
258 # httpd as root initially and it will switch.
260 # User/Group: The name (or #number) of the user/group to run httpd as.
261 # . On SCO (ODT 3) use "User nouser" and "Group nogroup".
262 # . On HPUX you may not be able to use shared memory as nobody, and the
263 # suggested workaround is to create a user www and use that user.
264 # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
265 # when the value of (unsigned)Group is above 60000;
266 # don't use Group #-1 on these systems!
274 # ServerAdmin: Your address, where problems with the server should be
275 # e-mailed. This address appears on some server-generated pages, such
276 # as error documents. e.g. admin@your-domain.com
278 ServerAdmin you@example.com
281 # ServerName gives the name and port that the server uses to identify itself.
282 # This can often be determined automatically, but we recommend you specify
283 # it explicitly to prevent problems during startup.
285 # If this is not set to valid DNS name for your host, server-generated
286 # redirections will not work. See also the UseCanonicalName directive.
288 # If your host doesn't have a registered DNS name, enter its IP address here.
289 # You will have to access it by its address anyway, and this will make
290 # redirections work in a sensible way.
292 #ServerName www.example.com:80
295 # UseCanonicalName: Determines how Apache constructs self-referencing
296 # URLs and the SERVER_NAME and SERVER_PORT variables.
297 # When set "Off", Apache will use the Hostname and Port supplied
298 # by the client. When set "On", Apache will use the value of the
299 # ServerName directive.
304 # DocumentRoot: The directory out of which you will serve your
305 # documents. By default, all requests are taken from this directory, but
306 # symbolic links and aliases may be used to point to other locations.
308 DocumentRoot "/bottlenecks/rubbos/app/apache2/htdocs"
311 # Each directory to which Apache has access can be configured with respect
312 # to which services and features are allowed and/or disabled in that
313 # directory (and its subdirectories).
315 # First, we configure the "default" to be a very restrictive set of
319 Options FollowSymLinks
324 # Note that from this point forward you must specifically allow
325 # particular features to be enabled - so if something's not working as
326 # you might expect, make sure that you have specifically enabled it
331 # This should be changed to whatever you set DocumentRoot to.
333 <Directory "/bottlenecks/rubbos/app/apache2/htdocs">
336 # Possible values for the Options directive are "None", "All",
337 # or any combination of:
338 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
340 # Note that "MultiViews" must be named *explicitly* --- "Options All"
341 # doesn't give it to you.
343 # The Options directive is both complicated and important. Please see
344 # http://httpd.apache.org/docs/2.0/mod/core.html#options
345 # for more information.
347 Options Indexes FollowSymLinks
350 # AllowOverride controls what directives may be placed in .htaccess files.
351 # It can be "All", "None", or any combination of the keywords:
352 # Options FileInfo AuthConfig Limit Indexes
357 # Controls who can get stuff from this server.
365 # UserDir: The name of the directory that is appended onto a user's home
366 # directory if a ~user request is received.
371 # Control access to UserDir directories. The following is an example
372 # for a site where these directories are restricted to read-only.
374 #<Directory /home/*/public_html>
375 # AllowOverride FileInfo AuthConfig Limit Indexes
376 # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
377 # <Limit GET POST OPTIONS PROPFIND>
381 # <LimitExcept GET POST OPTIONS PROPFIND>
388 # DirectoryIndex: sets the file that Apache will serve if a directory
391 # The index.html.var file (a type-map) is used to deliver content-
392 # negotiated documents. The MultiViews Option can be used for the
393 # same purpose, but it is much slower.
395 DirectoryIndex index.html index.html.var
398 # AccessFileName: The name of the file to look for in each directory
399 # for additional configuration directives. See also the AllowOverride
402 AccessFileName .htaccess
405 # The following lines prevent .htaccess and .htpasswd files from being
406 # viewed by Web clients.
414 # TypesConfig describes where the mime.types file (or equivalent) is
417 TypesConfig conf/mime.types
420 # DefaultType is the default MIME type the server will use for a document
421 # if it cannot otherwise determine one, such as from filename extensions.
422 # If your server contains mostly text or HTML documents, "text/plain" is
423 # a good value. If most of your content is binary, such as applications
424 # or images, you may want to use "application/octet-stream" instead to
425 # keep browsers from trying to display binary files as though they are
428 DefaultType text/plain
431 # The mod_mime_magic module allows the server to use various hints from the
432 # contents of the file itself to determine its type. The MIMEMagicFile
433 # directive tells the module where the hint definitions are located.
435 <IfModule mod_mime_magic.c>
436 MIMEMagicFile conf/magic
440 # HostnameLookups: Log the names of clients or just their IP addresses
441 # e.g., www.apache.org (on) or 204.62.129.132 (off).
442 # The default is off because it'd be overall better for the net if people
443 # had to knowingly turn this feature on, since enabling it means that
444 # each client request will result in AT LEAST one lookup request to the
450 # EnableMMAP: Control whether memory-mapping is used to deliver
451 # files (assuming that the underlying OS supports it).
452 # The default is on; turn this off if you serve from NFS-mounted
453 # filesystems. On some systems, turning it off (regardless of
454 # filesystem) can improve performance; for details, please see
455 # http://httpd.apache.org/docs/2.0/mod/core.html#enablemmap
460 # EnableSendfile: Control whether the sendfile kernel support is
461 # used to deliver files (assuming that the OS supports it).
462 # The default is on; turn this off if you serve from NFS-mounted
463 # filesystems. Please see
464 # http://httpd.apache.org/docs/2.0/mod/core.html#enablesendfile
469 # ErrorLog: The location of the error log file.
470 # If you do not specify an ErrorLog directive within a <VirtualHost>
471 # container, error messages relating to that virtual host will be
472 # logged here. If you *do* define an error logfile for a <VirtualHost>
473 # container, that host's errors will be logged there and not here.
475 ErrorLog logs/error_log
478 # LogLevel: Control the number of messages logged to the error_log.
479 # Possible values include: debug, info, notice, warn, error, crit,
485 # The following directives define some format nicknames for use with
486 # a CustomLog directive (see below).
488 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
489 LogFormat "%h %l %u %t \"%r\" %>s %b" common
490 LogFormat "%{Referer}i -> %U" referer
491 LogFormat "%{User-agent}i" agent
493 # You need to enable mod_logio.c to use %I and %O
494 #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
497 # The location and format of the access logfile (Common Logfile Format).
498 # If you do not define any access logfiles within a <VirtualHost>
499 # container, they will be logged here. Contrariwise, if you *do*
500 # define per-<VirtualHost> access logfiles, transactions will be
501 # logged therein and *not* in this file.
503 CustomLog logs/access_log common
506 # If you would like to have agent and referer logfiles, uncomment the
507 # following directives.
509 #CustomLog logs/referer_log referer
510 #CustomLog logs/agent_log agent
513 # If you prefer a single logfile with access, agent, and referer information
514 # (Combined Logfile Format) you can use the following directive.
516 #CustomLog logs/access_log combined
520 # This directive configures what you return as the Server HTTP response
521 # Header. The default is 'Full' which sends information about the OS-Type
522 # and compiled in modules.
523 # Set to one of: Full | OS | Minor | Minimal | Major | Prod
524 # where Full conveys the most information, and Prod the least.
529 # Optionally add a line containing the server version and virtual host
530 # name to server-generated pages (internal error documents, FTP directory
531 # listings, mod_status and mod_info output etc., but not CGI generated
532 # documents or custom error documents).
533 # Set to "EMail" to also include a mailto: link to the ServerAdmin.
534 # Set to one of: On | Off | EMail
539 # Aliases: Add here as many aliases as you need (with no limit). The format is
540 # Alias fakename realname
542 # Note that if you include a trailing / on fakename then the server will
543 # require it to be present in the URL. So "/icons" isn't aliased in this
544 # example, only "/icons/". If the fakename is slash-terminated, then the
545 # realname must also be slash terminated, and if the fakename omits the
546 # trailing slash, the realname must also omit it.
548 # We include the /icons/ alias for FancyIndexed directory listings. If you
549 # do not use FancyIndexing, you may comment this out.
551 Alias /icons/ "/bottlenecks/rubbos/app/apache2/icons/"
553 <Directory "/bottlenecks/rubbos/app/apache2/icons">
554 Options Indexes MultiViews
561 # This should be changed to the ServerRoot/manual/. The alias provides
562 # the manual, even if you choose to move your DocumentRoot. You may comment
563 # this out if you do not care for the documentation.
565 AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru|tr))?(/.*)?$ "/bottlenecks/rubbos/app/apache2/manual$1"
567 <Directory "/bottlenecks/rubbos/app/apache2/manual">
576 # .tr is text/troff in mime.types!
577 <Files *.html.tr.utf8>
581 SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru|tr)/ prefer-language=$1
582 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru|tr)){2,}(/.*)?$ /manual/$1$2
586 # ScriptAlias: This controls which directories contain server scripts.
587 # ScriptAliases are essentially the same as Aliases, except that
588 # documents in the realname directory are treated as applications and
589 # run by the server when requested rather than as documents sent to the client.
590 # The same rules about trailing "/" apply to ScriptAlias directives as to
593 ScriptAlias /cgi-bin/ "/bottlenecks/rubbos/app/apache2/cgi-bin/"
595 <IfModule mod_cgid.c>
597 # Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
598 # for setting UNIX socket for communicating with cgid.
600 #Scriptsock logs/cgisock
604 # "/bottlenecks/rubbos/app/apache2/cgi-bin" should be changed to whatever your ScriptAliased
605 # CGI directory exists, if you have that configured.
607 <Directory "/bottlenecks/rubbos/app/apache2/cgi-bin">
615 # Redirect allows you to tell clients about documents which used to exist in
616 # your server's namespace, but do not anymore. This allows you to tell the
617 # clients where to look for the relocated document.
619 # Redirect permanent /foo http://www.example.com/bar
622 # Directives controlling the display of server-generated directory listings.
626 # IndexOptions: Controls the appearance of server-generated directory
629 IndexOptions FancyIndexing VersionSort
632 # AddIcon* directives tell the server which icon to show for different
633 # files or filename extensions. These are only displayed for
634 # FancyIndexed directories.
636 AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
638 AddIconByType (TXT,/icons/text.gif) text/*
639 AddIconByType (IMG,/icons/image2.gif) image/*
640 AddIconByType (SND,/icons/sound2.gif) audio/*
641 AddIconByType (VID,/icons/movie.gif) video/*
643 AddIcon /icons/binary.gif .bin .exe
644 AddIcon /icons/binhex.gif .hqx
645 AddIcon /icons/tar.gif .tar
646 AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
647 AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
648 AddIcon /icons/a.gif .ps .ai .eps
649 AddIcon /icons/layout.gif .html .shtml .htm .pdf
650 AddIcon /icons/text.gif .txt
651 AddIcon /icons/c.gif .c
652 AddIcon /icons/p.gif .pl .py
653 AddIcon /icons/f.gif .for
654 AddIcon /icons/dvi.gif .dvi
655 AddIcon /icons/uuencoded.gif .uu
656 AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
657 AddIcon /icons/tex.gif .tex
658 AddIcon /icons/bomb.gif core
660 AddIcon /icons/back.gif ..
661 AddIcon /icons/hand.right.gif README
662 AddIcon /icons/folder.gif ^^DIRECTORY^^
663 AddIcon /icons/blank.gif ^^BLANKICON^^
666 # DefaultIcon is which icon to show for files which do not have an icon
669 DefaultIcon /icons/unknown.gif
672 # AddDescription allows you to place a short description after a file in
673 # server-generated indexes. These are only displayed for FancyIndexed
675 # Format: AddDescription "description" filename
677 #AddDescription "GZIP compressed document" .gz
678 #AddDescription "tar archive" .tar
679 #AddDescription "GZIP compressed tar archive" .tgz
682 # ReadmeName is the name of the README file the server will look for by
683 # default, and append to directory listings.
685 # HeaderName is the name of a file which should be prepended to
687 ReadmeName README.html
688 HeaderName HEADER.html
691 # IndexIgnore is a set of filenames which directory indexing should ignore
692 # and not include in the listing. Shell-style wildcarding is permitted.
694 IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
697 # DefaultLanguage and AddLanguage allows you to specify the language of
698 # a document. You can then use content negotiation to give a browser a
699 # file in a language the user can understand.
701 # Specify a default language. This means that all data
702 # going out without a specific language tag (see below) will
703 # be marked with this one. You probably do NOT want to set
704 # this unless you are sure it is correct for all cases.
706 # * It is generally better to not mark a page as
707 # * being a certain language than marking it with the wrong
712 # Note 1: The suffix does not have to be the same as the language
713 # keyword --- those with documents in Polish (whose net-standard
714 # language code is pl) may wish to use "AddLanguage pl .po" to
715 # avoid the ambiguity with the common suffix for perl scripts.
717 # Note 2: The example entries below illustrate that in some cases
718 # the two character 'Language' abbreviation is not identical to
719 # the two character 'Country' code for its country,
720 # E.g. 'Danmark/dk' versus 'Danish/da'.
722 # Note 3: In the case of 'ltz' we violate the RFC by using a three char
723 # specifier. There is 'work in progress' to fix this and get
724 # the reference data for rfc1766 cleaned up.
726 # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
727 # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
728 # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
729 # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
730 # Norwegian (no) - Polish (pl) - Portugese (pt)
731 # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
732 # Turkish (tr) - Simplified Chinese (zh-CN) - Spanish (es)
733 # Traditional Chinese (zh-TW)
736 AddLanguage cs .cz .cs
756 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 tr 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 # /bottlenecks/rubbos/app/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/ "/bottlenecks/rubbos/app/apache2/error/"
923 # <Directory "/bottlenecks/rubbos/app/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 "MS FrontPage" redirect-carefully
972 BrowserMatch "^WebDrive" redirect-carefully
973 BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
974 BrowserMatch "^gnome-vfs" redirect-carefully
975 BrowserMatch "^XML Spy" redirect-carefully
976 BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
979 # Allow server status reports generated by mod_status,
980 # with the URL of http://servername/server-status
981 # Change the ".example.com" to match your domain to enable.
983 #<Location /server-status>
984 # SetHandler server-status
987 # Allow from .example.com
991 # Allow remote server configuration reports, with the URL of
992 # http://servername/server-info (requires that mod_info.c be loaded).
993 # Change the ".example.com" to match your domain to enable.
995 #<Location /server-info>
996 # SetHandler server-info
999 # Allow from .example.com
1004 # Bring in additional module-specific configurations
1006 <IfModule mod_ssl.c>
1007 Include conf/ssl.conf
1011 ### Section 3: Virtual Hosts
1013 # VirtualHost: If you want to maintain multiple domains/hostnames on your
1014 # machine you can setup VirtualHost containers for them. Most configurations
1015 # use only name-based virtual hosts so the server doesn't need to worry about
1016 # IP addresses. This is indicated by the asterisks in the directives below.
1018 # Please see the documentation at
1019 # <URL:http://httpd.apache.org/docs/2.0/vhosts/>
1020 # for further details before you try to setup virtual hosts.
1022 # You may use the command line option '-S' to verify your virtual host
1026 # Use name-based virtual hosting.
1028 #NameVirtualHost *:80
1031 # VirtualHost example:
1032 # Almost any Apache directive may go into a VirtualHost container.
1033 # The first VirtualHost section is used for requests without a known
1037 # ServerAdmin webmaster@dummy-host.example.com
1038 # DocumentRoot /www/docs/dummy-host.example.com
1039 # ServerName dummy-host.example.com
1040 # ErrorLog logs/dummy-host.example.com-error_log
1041 # CustomLog logs/dummy-host.example.com-access_log common