LockFile /var/run/httpd.lock
### ScoreBoardFile
-# File used to store internal server process information.
+# File used to store internal server process information. Not all
# architectures require this. But if yours does (you'll know because this
# file will be created when you run Apache) then you *must* ensure that no
# two invocations of Apache share the same scoreboard file.
ResourceConfig /dev/null
AccessConfig /dev/null
-
#
# Server-pool size regulation. Rather than making you guess how many
# server processes you need, Apache dynamically adapts to the load it
# as to avoid problems after prolonged use when Apache (and maybe the
# libraries it uses) leak memory or other resources. On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
-# in the libraries.
+# in the libraries. For these platforms, set to something like 10000
+# or so; a setting of 0 means unlimited.
#
+# NOTE: This value does not include keepalive requests after the initial
+# request per connection. For example, if a child process handles
+# an initial request and 10 subsequent "keptalive" requests, it
+# would only count as 1 request towards this limit.
+
MaxRequestsPerChild 30
### Listen
#Listen 12.34.56.78:80
Listen 80
+# Listen can take two arguments.
+# (this is an extension for supporting IPv6 addresses)
+#Listen :: 80
+#Listen 0.0.0.0 80
+
### BindAddress
# You can support virtual hosts with this option. This directive is used to
# tell the server which IP address to listen to. It can either contain "*",
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
+# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
+# machine always knows itself by this address. If you use Apache strictly for
+# local testing and development, you may use 127.0.0.1 as the server name.
+#
#ServerName new.host.name
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
- Options Indexes FollowSymLinks
+ Options Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
-#<Directory /*/public_html>
+#<Directory /home/*/public_html>
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
-# <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
+# <LimitExcept GET POST OPTIONS PROPFIND>
# Order deny,allow
# Deny from all
# </Limit>
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
-DirectoryIndex index.html index.htm index.shtml index.cgi index.php
+ DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
#
# .htaccess files. If you change the AccessFileName directive above,
# be sure to make the corresponding changes here.
#
-<Files .htaccess>
+# Also, folks tend to use names such as .htpasswd for password
+# files, so this will protect those as well.
+#
+<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
# HeaderName is the name of a file which should be prepended to
# directory indexes.
#
-# The server will first look for name.html and include it if found.
-# If name.html doesn't exist, the server will then look for name.txt
-# and include it as plaintext if found.
+# If MultiViews are amongst the Options in effect, the server will
+# first look for name.html and include it if found. If name.html
+# doesn't exist, the server will then look for name.txt and include
+# it as plaintext if found.
#
ReadmeName README
HeaderName HEADER
#
# AddLanguage allows you to specify the language of a document. You can
# then use content negotiation to give a browser a file in a language
-# it can understand. Note that the suffix does not have to be the same
-# as the language keyword --- those with documents in Polish (whose
-# net-standard language code is pl) may wish to use "AddLanguage pl .po"
-# to avoid the ambiguity with the common suffix for perl scripts.
-#
-AddLanguage en .en
-AddLanguage fr .fr
+# it can understand.
+#
+# Note 1: The suffix does not have to be the same as the language
+# keyword --- those with documents in Polish (whose net-standard
+# language code is pl) may wish to use "AddLanguage pl .po" to
+# avoid the ambiguity with the common suffix for perl scripts.
+#
+# Note 2: The example entries below illustrate that in quite
+# some cases the two character 'Language' abbriviation is not
+# identical to the two character 'Country' code for its country,
+# E.g. 'Danmark/dk' versus 'Danish/da'.
+#
+# Note 3: In the case of 'ltz' we violate the RFC by using a three char
+# specifier. But there is 'work in progress' to fix this and get
+# the reference data for rfc1766 cleaned up.
+#
+# Danish (da) - Dutch (nl) - English (en) - Estonian (ee)
+# French (fr) - German (de) - Greek-Modern (el)
+# Italian (it) - Korean (kr) - Norwegian (no)
+# Portugese (pt) - Luxembourgeois* (ltz)
+# Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)
+# Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
+# Russian (ru)
+#
+AddLanguage ca .ca
+AddLanguage cz .cz
+AddLanguage da .dk
AddLanguage de .de
-AddLanguage da .da
+AddLanguage en .en
AddLanguage el .el
+AddLanguage es .es
+AddLanguage et .ee
+AddLanguage fr .fr
+AddLanguage he .he
AddLanguage it .it
+AddLanguage ja .ja
+AddLanguage kr .kr
+AddLanguage ltz .lu
+AddLanguage nl .nl
+AddLanguage no .no
AddLanguage pl .po
+AddLanguage pt .pt
+AddLanguage pt-br .pt-br
+AddLanguage ru .ru
+AddLanguage sv .se
+AddLanguage tw .tw
+
+AddCharset Big5 .Big5 .big5
+AddCharset CP866 .cp866
+AddCharset ISO-8859-2 .iso-pl
+AddCharset ISO-8859-5 .iso-ru
+AddCharset ISO-8859-8 .iso8859-8
+AddCharset ISO-2022-JP .his
+AddCharset ISO-2022-KR .iso-kr
+AddCharset KOI8-R .koi8-r
+AddCharset UCS-2 .ucs2
+AddCharset UCS-4 .ucs4
+AddCharset UTF-8 .utf8
+AddCharset WINDOWS-1251 .cp-1251
+
#
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
#
LanguagePriority en pl fr de
+#
+# AddType allows you to tweak mime.types without actually editing it, or to
+# make certain files to be certain types.
+#
+# For example, the PHP 3.x module (not part of the Apache distribution - see
+# http://www.php.net) will typically use:
+#
+#AddType application/x-httpd-php3 .php3
+#AddType application/x-httpd-php3-source .phps
+#
+# And for PHP 4.x, use:
+#
+#AddType application/x-httpd-php .php
+#AddType application/x-httpd-php-source .phps
+#
+#AddType application/x-tar .tgz
+
#
# AddHandler allows you to map certain file extensions to "handlers",
# actions unrelated to filetype. These can be either built into the server