cygwin-httpd.conf revision cfb0617749a64f2e177386b030d46007b8c4b179
1cfb0617749a64f2e177386b030d46007b8c4b179Steve Block## 2cfb0617749a64f2e177386b030d46007b8c4b179Steve Block## httpd.conf -- Apache HTTP server configuration file 3cfb0617749a64f2e177386b030d46007b8c4b179Steve Block## 4cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 5cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 6cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Based upon the NCSA server configuration files originally by Rob McCool. 7cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 8cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# This is the main Apache server configuration file. It contains the 9cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# configuration directives that give the server its instructions. 10cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# See <URL:http://httpd.apache.org/docs/> for detailed information about 11cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# the directives. 12cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 13cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Do NOT simply read the instructions in here without understanding 14cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# what they do. They're here only as hints or reminders. If you are unsure 15cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# consult the online docs. You have been warned. 16cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 17cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# After this file is processed, the server will look for and process 18cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# /private/etc/httpd/srm.conf and then /private/etc/httpd/access.conf 19cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# unless you have overridden these with ResourceConfig and/or 20cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# AccessConfig directives here. 21cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 22cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The configuration directives are grouped into three basic sections: 23cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 1. Directives that control the operation of the Apache server process as a 24cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# whole (the 'global environment'). 25cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 2. Directives that define the parameters of the 'main' or 'default' server, 26cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# which responds to requests that aren't handled by a virtual host. 27cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# These directives also provide default values for the settings 28cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# of all virtual hosts. 29cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 3. Settings for virtual hosts, which allow Web requests to be sent to 30cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# different IP addresses or hostnames and have them handled by the 31cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# same Apache server process. 32cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 33cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Configuration and logfile names: If the filenames you specify for many 34cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# of the server's control files begin with "/" (or "drive:/" for Win32), the 35cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# server will use that explicit path. If the filenames do *not* begin 36cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# with "/", the value of ServerRoot is prepended -- so "logs/foo.log" 37cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# with ServerRoot set to "/usr/local/apache" will be interpreted by the 38cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# server as "/usr/local/apache/logs/foo.log". 39cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 40cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 41cfb0617749a64f2e177386b030d46007b8c4b179Steve Block### Section 1: Global Environment 42cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 43cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The directives in this section affect the overall operation of Apache, 44cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# such as the number of concurrent requests it can handle or where it 45cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# can find its configuration files. 46cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 47cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 48cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 49cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# ServerType is either inetd, or standalone. Inetd mode is only supported on 50cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Unix platforms. 51cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 52cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockServerType standalone 53cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 54cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 55cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# ServerRoot: The top of the directory tree under which the server's 56cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# configuration, error, and log files are kept. 57cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 58cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# NOTE! If you intend to place this on an NFS (or otherwise network) 59cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# mounted filesystem then please read the LockFile documentation 60cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>); 61cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# you will save yourself a lot of trouble. 62cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 63cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockServerRoot "/usr" 64cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 65cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 66cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The LockFile directive sets the path to the lockfile used when Apache 67cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or 68cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at 69cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# its default value. The main reason for changing it is if the logs 70cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL 71cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# DISK. The PID of the main server process is automatically appended to 72cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# the filename. 73cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 74cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLockFile "/tmp/WebKit/httpd.lock" 75cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 76cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 77cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# PidFile: The file in which the server should record its process 78cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# identification number when it starts. 79cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 80cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockPidFile "/tmp/WebKit/httpd.pid" 81cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 82cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 83cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# ScoreBoardFile: File used to store internal server process information. 84cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Not all architectures require this. But if yours does (you'll know because 85cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# this file will be created when you run Apache) then you *must* ensure that 86cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# no two invocations of Apache share the same scoreboard file. 87cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 88cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockScoreBoardFile "/tmp/WebKit/httpd.scoreboard" 89cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 90cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 91cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# In the standard configuration, the server will process httpd.conf (this 92cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# file, specified by the -f command line option), srm.conf, and access.conf 93cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# in that order. The latter two files are now distributed empty, as it is 94cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# recommended that all directives be kept in a single file for simplicity. 95cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The commented-out values below are the built-in defaults. You can have the 96cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# server ignore these files altogether by using "/dev/null" (for Unix) or 97cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# "nul" (for Win32) for the arguments to the directives. 98cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 99cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockResourceConfig /dev/null 100cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAccessConfig /dev/null 101cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 102cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 103cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Timeout: The number of seconds before receives and sends time out. 104cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 105cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockTimeout 300 106cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 107cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 108cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# KeepAlive: Whether or not to allow persistent connections (more than 109cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# one request per connection). Set to "Off" to deactivate. 110cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 111cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockKeepAlive On 112cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 113cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 114cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# MaxKeepAliveRequests: The maximum number of requests to allow 115cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# during a persistent connection. Set to 0 to allow an unlimited amount. 116cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# We recommend you leave this number high, for maximum performance. 117cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 118cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockMaxKeepAliveRequests 100 119cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 120cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 121cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# KeepAliveTimeout: Number of seconds to wait for the next request from the 122cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# same client on the same connection. 123cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 124cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockKeepAliveTimeout 15 125cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 126cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 127cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Server-pool size regulation. Rather than making you guess how many 128cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# server processes you need, Apache dynamically adapts to the load it 129cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# sees --- that is, it tries to maintain enough server processes to 130cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# handle the current load, plus a few spare servers to handle transient 131cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# load spikes (e.g., multiple simultaneous requests from a single 132cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Netscape browser). 133cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 134cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# It does this by periodically checking how many servers are waiting 135cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# for a request. If there are fewer than MinSpareServers, it creates 136cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# a new spare. If there are more than MaxSpareServers, some of the 137cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# spares die off. The default values are probably OK for most sites. 138cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 139cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockMinSpareServers 1 140cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockMaxSpareServers 5 141cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 142cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 143cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Number of servers to start initially --- should be a reasonable ballpark 144cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# figure. 145cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 146cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockStartServers 1 147cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 148cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 149cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Limit on total number of servers running, i.e., limit on the number 150cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# of clients who can simultaneously connect --- if this limit is ever 151cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW. 152cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# It is intended mainly as a brake to keep a runaway server from taking 153cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# the system with it as it spirals down... 154cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 155cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockMaxClients 150 156cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 157cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 158cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# MaxRequestsPerChild: the number of requests each child process is 159cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# allowed to process before the child dies. The child will exit so 160cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# as to avoid problems after prolonged use when Apache (and maybe the 161cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# libraries it uses) leak memory or other resources. On most systems, this 162cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# isn't really needed, but a few (such as Solaris) do have notable leaks 163cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# in the libraries. For these platforms, set to something like 10000 164cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# or so; a setting of 0 means unlimited. 165cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 166cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# NOTE: This value does not include keepalive requests after the initial 167cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# request per connection. For example, if a child process handles 168cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# an initial request and 10 subsequent "keptalive" requests, it 169cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# would only count as 1 request towards this limit. 170cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 171cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockMaxRequestsPerChild 100000 172cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 173cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 174cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Listen: Allows you to bind Apache to specific IP addresses and/or 175cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# ports, instead of the default. See also the <VirtualHost> 176cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# directive. 177cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 178cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Configured from the httpd command line for WebKit layout tests. 179cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 180cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#Listen 3000 181cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockListen 127.0.0.1:8080 182cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 183cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 184cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Dynamic Shared Object (DSO) Support 185cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 186cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# To be able to use the functionality of a module which was built as a DSO you 187cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# have to place corresponding `LoadModule' lines at this location so the 188cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# directives contained in it are actually available _before_ they are used. 189cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Please read the file http://httpd.apache.org/docs/dso.html for more 190cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# details about the DSO mechanism and run `httpd -l' for the list of already 191cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# built-in (statically linked and thus always available) modules in your httpd 192cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# binary. 193cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 194cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Note: The order in which modules are loaded is important. Don't change 195cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# the order below without expert advice. 196cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 197cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Example: 198cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# LoadModule foo_module libexec/mod_foo.so 199cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule vhost_alias_module lib/apache/mod_vhost_alias.dll 200cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule env_module lib/apache/mod_env.dll 201cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule config_log_module lib/apache/mod_log_config.dll 202cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule agent_log_module lib/apache/mod_log_agent.dll 203cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule referer_log_module lib/apache/mod_log_referer.dll 204cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule mime_magic_module lib/apache/mod_mime_magic.dll 205cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule mime_module lib/apache/mod_mime.dll 206cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule negotiation_module lib/apache/mod_negotiation.dll 207cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule status_module lib/apache/mod_status.dll 208cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule info_module lib/apache/mod_info.dll 209cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule includes_module lib/apache/mod_include.dll 210cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule autoindex_module lib/apache/mod_autoindex.dll 211cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule dir_module lib/apache/mod_dir.dll 212cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule cgi_module lib/apache/mod_cgi.dll 213cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule asis_module lib/apache/mod_asis.dll 214cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule imap_module lib/apache/mod_imap.dll 215cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule action_module lib/apache/mod_actions.dll 216cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule speling_module lib/apache/mod_speling.dll 217cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule userdir_module lib/apache/mod_userdir.dll 218cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule alias_module lib/apache/mod_alias.dll 219cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule rewrite_module lib/apache/mod_rewrite.dll 220cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule access_module lib/apache/mod_access.dll 221cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule auth_module lib/apache/mod_auth.dll 222cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule anon_auth_module lib/apache/mod_auth_anon.dll 223cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule digest_module lib/apache/mod_digest.dll 224cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule proxy_module lib/apache/libproxy.dll 225cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule cern_meta_module lib/apache/mod_cern_meta.dll 226cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule expires_module lib/apache/mod_expires.dll 227cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule headers_module lib/apache/mod_headers.dll 228cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule usertrack_module lib/apache/mod_usertrack.dll 229cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule example_module lib/apache/mod_example.dll 230cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule log_forensic_module lib/apache/mod_log_forensic.dll 231cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule unique_id_module lib/apache/mod_unique_id.dll 232cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule setenvif_module lib/apache/mod_setenvif.dll 233cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLoadModule php4_module lib/apache/libphp4.dll 234cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule hfs_apple_module lib/apache/mod_hfs_apple.so 235cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#LoadModule bonjour_module lib/apache/mod_bonjour.so 236cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 237cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Reconstruction of the complete module list from all available modules 238cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# (static and shared ones) to achieve correct module execution order. 239cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO] 240cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockClearModuleList 241cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_vhost_alias.c 242cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_env.c 243cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_log_config.c 244cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_mime_magic.c 245cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_mime.c 246cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_negotiation.c 247cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_status.c 248cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_info.c 249cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_include.c 250cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_autoindex.c 251cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_dir.c 252cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_cgi.c 253cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_asis.c 254cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_imap.c 255cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_actions.c 256cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_speling.c 257cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_userdir.c 258cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_alias.c 259cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_rewrite.c 260cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_access.c 261cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_auth.c 262cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_auth_anon.c 263cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_auth_dbm.c 264cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_digest.c 265cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_proxy.c 266cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_cern_meta.c 267cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_expires.c 268cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_headers.c 269cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_usertrack.c 270cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_log_forensic.c 271cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_unique_id.c 272cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_so.c 273cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_setenvif.c 274cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_dav.c 275cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_ssl.c 276cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_perl.c 277cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAddModule mod_php4.c 278cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_hfs_apple.c 279cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#AddModule mod_bonjour.c 280cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 281cfb0617749a64f2e177386b030d46007b8c4b179Steve Block### Section 2: 'Main' server configuration 282cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 283cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The directives in this section set up the values used by the 'main' 284cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# server, which responds to any requests that aren't handled by a 285cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# <VirtualHost> definition. These values also provide defaults for 286cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# any <VirtualHost> containers you may define later in the file. 287cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 288cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# All of these directives may appear inside <VirtualHost> containers, 289cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# in which case these default settings will be overridden for the 290cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# virtual host being defined. 291cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 292cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 293cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 294cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# ServerName allows you to set a host name which is sent back to clients for 295cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# your server if it's different than the one the program would get (i.e., use 296cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# "www" instead of the host's real name). 297cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 298cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Note: You cannot just invent host names and hope they work. The name you 299cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# define here must be a valid DNS name for your host. If you don't understand 300cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# this, ask your network administrator. 301cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# If your host doesn't have a registered DNS name, enter its IP address here. 302cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# You will have to access it by its address (e.g., http://123.45.67.89/) 303cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# anyway, and this will make redirections work in a sensible way. 304cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 305cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your 306cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# machine always knows itself by this address. If you use Apache strictly for 307cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# local testing and development, you may use 127.0.0.1 as the server name. 308cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 309cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockServerName 127.0.0.1 310cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 311cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 312cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# DocumentRoot: The directory out of which you will serve your 313cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# documents. By default, all requests are taken from this directory, but 314cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# symbolic links and aliases may be used to point to other locations. 315cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 316cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Configured from the httpd command line for WebKit layout tests. 317cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#DocumentRoot "/var/www/htdocs" 318cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 319cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 320cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Each directory to which Apache has access, can be configured with respect 321cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# to which services and features are allowed and/or disabled in that 322cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# directory (and its subdirectories). 323cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 324cfb0617749a64f2e177386b030d46007b8c4b179Steve Block<Directory /> 325cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 326cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# This may also be "None", "All", or any combination of "Indexes", 327cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". 328cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 329cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Note that "MultiViews" must be named *explicitly* --- "Options All" 330cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# doesn't give it to you. 331cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 332cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Options Indexes FollowSymLinks MultiViews ExecCGI Includes 333cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 334cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 335cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# This controls which options the .htaccess files in directories can 336cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# override. Can also be "All", or any combination of "Options", "FileInfo", 337cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# "AuthConfig", and "Limit" 338cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 339cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AllowOverride All 340cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 341cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 342cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Controls who can get stuff from this server. 343cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 344cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Order allow,deny 345cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Allow from all 346cfb0617749a64f2e177386b030d46007b8c4b179Steve Block</Directory> 347cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 348cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 349cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# AccessFileName: The name of the file to look for in each directory 350cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# for access control information. 351cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 352cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockAccessFileName .htaccess 353cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 354cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 355cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The following lines prevent .htaccess files from being viewed by 356cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Web clients. Since .htaccess files often contain authorization 357cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# information, access is disallowed for security reasons. Comment 358cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# these lines out if you want Web visitors to see the contents of 359cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# .htaccess files. If you change the AccessFileName directive above, 360cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# be sure to make the corresponding changes here. 361cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 362cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Also, folks tend to use names such as .htpasswd for password 363cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# files, so this will protect those as well. 364cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 365cfb0617749a64f2e177386b030d46007b8c4b179Steve Block<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])"> 366cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Order allow,deny 367cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Deny from all 368cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Satisfy All 369cfb0617749a64f2e177386b030d46007b8c4b179Steve Block</Files> 370cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 371cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 372cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Apple specific filesystem protection. 373cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 374cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 375cfb0617749a64f2e177386b030d46007b8c4b179Steve Block<Files "rsrc"> 376cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Order allow,deny 377cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Deny from all 378cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Satisfy All 379cfb0617749a64f2e177386b030d46007b8c4b179Steve Block</Files> 380cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 381cfb0617749a64f2e177386b030d46007b8c4b179Steve Block<Directory ~ ".*\.\.namedfork"> 382cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Order allow,deny 383cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Deny from all 384cfb0617749a64f2e177386b030d46007b8c4b179Steve Block Satisfy All 385cfb0617749a64f2e177386b030d46007b8c4b179Steve Block</Directory> 386cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 387cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 388cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each 389cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# document that was negotiated on the basis of content. This asks proxy 390cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# servers not to cache the document. Uncommenting the following line disables 391cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# this behavior, and proxies will be allowed to cache the documents. 392cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 393cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#CacheNegotiatedDocs 394cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 395cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 396cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# UseCanonicalName: (new for 1.3) With this setting turned on, whenever 397cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Apache needs to construct a self-referencing URL (a URL that refers back 398cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# to the server the response is coming from) it will use ServerName and 399cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Port to form a "canonical" name. With this setting off, Apache will 400cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# use the hostname:port that the client supplied, when possible. This 401cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# also affects SERVER_NAME and SERVER_PORT in CGI scripts. 402cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 403cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockUseCanonicalName On 404cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 405cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 406cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# TypesConfig describes where the mime.types file (or equivalent) is 407cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# to be found. 408cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 409cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Configured from the httpd command line for WebKit layout tests. 410cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 411cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#<IfModule mod_mime.c> 412cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# TypesConfig /etc/apache/mime.types 413cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#</IfModule> 414cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 415cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 416cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# DefaultType is the default MIME type the server will use for a document 417cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# if it cannot otherwise determine one, such as from filename extensions. 418cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# If your server contains mostly text or HTML documents, "text/plain" is 419cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# a good value. If most of your content is binary, such as applications 420cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# or images, you may want to use "application/octet-stream" instead to 421cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# keep browsers from trying to display binary files as though they are 422cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# text. 423cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 424cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockDefaultType text/plain 425cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 426cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 427cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# HostnameLookups: Log the names of clients or just their IP addresses 428cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# e.g., www.apache.org (on) or 204.62.129.132 (off). 429cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The default is off because it'd be overall better for the net if people 430cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# had to knowingly turn this feature on, since enabling it means that 431cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# each client request will result in AT LEAST one lookup request to the 432cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# nameserver. 433cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 434cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockHostnameLookups Off 435cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 436cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 437cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# ErrorLog: The location of the error log file. 438cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# If you do not specify an ErrorLog directive within a <VirtualHost> 439cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# container, error messages relating to that virtual host will be 440cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# logged here. If you *do* define an error logfile for a <VirtualHost> 441cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# container, that host's errors will be logged there and not here. 442cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 443cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Configured from the httpd command line for WebKit layout tests. 444cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#ErrorLog "/tmp/layout-test-results/error_log" 445cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 446cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 447cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# LogLevel: Control the number of messages logged to the error_log. 448cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Possible values include: debug, info, notice, warn, error, crit, 449cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# alert, emerg. 450cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 451cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLogLevel warn 452cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 453cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 454cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The following directives define some format nicknames for use with 455cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# a CustomLog directive (see below). 456cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 457cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 458cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLogFormat "%h %l %u %t \"%r\" %>s %b" common 459cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLogFormat "%{Referer}i -> %U" referer 460cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockLogFormat "%{User-agent}i" agent 461cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 462cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 463cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# The location and format of the access logfile (Common Logfile Format). 464cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# If you do not define any access logfiles within a <VirtualHost> 465cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# container, they will be logged here. Contrariwise, if you *do* 466cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# define per-<VirtualHost> access logfiles, transactions will be 467cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# logged therein and *not* in this file. 468cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 469cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Configured from the httpd command line for WebKit layout tests. 470cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#CustomLog "/tmp/layout-test-results/access_log" common 471cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 472cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 473cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# If you prefer a single logfile with access, agent, and referer information 474cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# (Combined Logfile Format) you can use the following directive. 475cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 476cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#CustomLog "/tmp/layout-test-results/access_log" combined 477cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 478cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 479cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Optionally add a line containing the server version and virtual host 480cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# name to server-generated pages (error documents, FTP directory listings, 481cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# mod_status and mod_info output etc., but not CGI generated documents). 482cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Set to "EMail" to also include a mailto: link to the ServerAdmin. 483cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Set to one of: On | Off | EMail 484cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 485cfb0617749a64f2e177386b030d46007b8c4b179Steve BlockServerSignature On 486cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 487cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 488cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Aliases: Add here as many aliases as you need (with no limit). The format is 489cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Alias fakename realname 490cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 491cfb0617749a64f2e177386b030d46007b8c4b179Steve Block<IfModule mod_alias.c> 492cfb0617749a64f2e177386b030d46007b8c4b179Steve Block</IfModule> 493cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# End of aliases. 494cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 495cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 496cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Redirect allows you to tell clients about documents which used to exist in 497cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# your server's namespace, but do not anymore. This allows you to tell the 498cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# clients where to look for the relocated document. 499cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Format: Redirect old-URI new-URL 500cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 501cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 502cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 503cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Document types. 504cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 505cfb0617749a64f2e177386b030d46007b8c4b179Steve Block<IfModule mod_mime.c> 506cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 507cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 508cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # AddLanguage allows you to specify the language of a document. You can 509cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # then use content negotiation to give a browser a file in a language 510cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # it can understand. 511cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 512cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Note 1: The suffix does not have to be the same as the language 513cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # keyword --- those with documents in Polish (whose net-standard 514cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # language code is pl) may wish to use "AddLanguage pl .po" to 515cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # avoid the ambiguity with the common suffix for perl scripts. 516cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 517cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Note 2: The example entries below illustrate that in quite 518cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # some cases the two character 'Language' abbreviation is not 519cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # identical to the two character 'Country' code for its country, 520cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # E.g. 'Danmark/dk' versus 'Danish/da'. 521cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 522cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Note 3: In the case of 'ltz' we violate the RFC by using a three char 523cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # specifier. But there is 'work in progress' to fix this and get 524cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # the reference data for rfc1766 cleaned up. 525cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 526cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Danish (da) - Dutch (nl) - English (en) - Estonian (ee) 527cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # French (fr) - German (de) - Greek-Modern (el) 528cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Italian (it) - Korean (kr) - Norwegian (no) - Norwegian Nynorsk (nn) 529cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Portugese (pt) - Luxembourgeois* (ltz) 530cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cs) 531cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) 532cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Russian (ru) 533cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 534cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage da .dk 535cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage nl .nl 536cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage en .en 537cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage et .ee 538cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage fr .fr 539cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage de .de 540cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage el .el 541cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage he .he 542cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset ISO-8859-8 .iso8859-8 543cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage it .it 544cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage ja .ja 545cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset ISO-2022-JP .jis 546cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage kr .kr 547cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset ISO-2022-KR .iso-kr 548cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage nn .nn 549cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage no .no 550cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage pl .po 551cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset ISO-8859-2 .iso-pl 552cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage pt .pt 553cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage pt-br .pt-br 554cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage ltz .lu 555cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage ca .ca 556cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage es .es 557cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage sv .sv 558cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage cs .cz .cs 559cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage ru .ru 560cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddLanguage zh-TW .zh-tw 561cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset Big5 .Big5 .big5 562cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset WINDOWS-1251 .cp-1251 563cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset CP866 .cp866 564cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset ISO-8859-5 .iso-ru 565cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset KOI8-R .koi8-r 566cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset UCS-2 .ucs2 567cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset UCS-4 .ucs4 568cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddCharset UTF-8 .utf8 569cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 570cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # LanguagePriority allows you to give precedence to some languages 571cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # in case of a tie during content negotiation. 572cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 573cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Just list the languages in decreasing order of preference. We have 574cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # more or less alphabetized them here. You probably want to change this. 575cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 576cfb0617749a64f2e177386b030d46007b8c4b179Steve Block <IfModule mod_negotiation.c> 577cfb0617749a64f2e177386b030d46007b8c4b179Steve Block LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw 578cfb0617749a64f2e177386b030d46007b8c4b179Steve Block </IfModule> 579cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 580cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 581cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # AddType allows you to tweak mime.types without actually editing it, or to 582cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # make certain files to be certain types. 583cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 584cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddType application/x-tar .tgz 585cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 586cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 587cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # AddEncoding allows you to have certain browsers uncompress 588cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # information on the fly. Note: Not all browsers support this. 589cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Despite the name similarity, the following Add* directives have nothing 590cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # to do with the FancyIndexing customization directives above. 591cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 592cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddEncoding x-compress .Z 593cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddEncoding x-gzip .gz .tgz 594cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 595cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # If the AddEncoding directives above are commented-out, then you 596cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # probably should define those extensions to indicate media types: 597cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 598cfb0617749a64f2e177386b030d46007b8c4b179Steve Block #AddType application/x-compress .Z 599cfb0617749a64f2e177386b030d46007b8c4b179Steve Block #AddType application/x-gzip .gz .tgz 600cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 601cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 602cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # AddHandler allows you to map certain file extensions to "handlers", 603cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # actions unrelated to filetype. These can be either built into the server 604cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # or added with the Action command (see below) 605cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 606cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # If you want to use server side includes, or CGI outside 607cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # ScriptAliased directories, uncomment the following lines. 608cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 609cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # To use CGI scripts: 610cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 611cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddHandler cgi-script .cgi .pl 612cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 613cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 614cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # To use server-parsed HTML files 615cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 616cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddType text/html .shtml 617cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddHandler server-parsed .shtml 618cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 619cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 620cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Uncomment the following line to enable Apache's send-asis HTTP file 621cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # feature 622cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 623cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddHandler send-as-is asis 624cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 625cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 626cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # If you wish to use server-parsed imagemap files, use 627cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 628cfb0617749a64f2e177386b030d46007b8c4b179Steve Block #AddHandler imap-file map 629cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 630cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 631cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # To enable type maps, you might want to use 632cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 633cfb0617749a64f2e177386b030d46007b8c4b179Steve Block #AddHandler type-map var 634cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 635cfb0617749a64f2e177386b030d46007b8c4b179Steve Block</IfModule> 636cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# End of document types. 637cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 638cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 639cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Action lets you define media types that will execute a script whenever 640cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# a matching file is called. This eliminates the need for repeated URL 641cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# pathnames for oft-used CGI file processors. 642cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Format: Action media/type /cgi-script/location 643cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Format: Action handler-name /cgi-script/location 644cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 645cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 646cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 647cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# MetaDir: specifies the name of the directory in which Apache can find 648cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# meta information files. These files contain additional HTTP headers 649cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# to include when sending the document 650cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 651cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#MetaDir .web 652cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 653cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 654cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# MetaSuffix: specifies the file name suffix for the file containing the 655cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# meta information. 656cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 657cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#MetaSuffix .meta 658cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 659cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 660cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Customizable error response (Apache style) 661cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# these come in three flavors 662cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 663cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 1) plain text 664cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#ErrorDocument 500 "The server made a boo boo. 665cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# n.b. the single leading (") marks it as text, it does not get output 666cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 667cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 2) local redirects 668cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#ErrorDocument 404 /missing.html 669cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# to redirect to local URL /missing.html 670cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#ErrorDocument 404 /cgi-bin/missing_handler.pl 671cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# N.B.: You can redirect to a script or a document using server-side-includes. 672cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 673cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 3) external redirects 674cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#ErrorDocument 402 http://some.other-server.com/subscription_info.html 675cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# N.B.: Many of the environment variables associated with the original 676cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# request will *not* be available to such a script. 677cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 678cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 679cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Proxy Server directives. Uncomment the following lines to 680cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# enable the proxy server: 681cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# 682cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#<IfModule mod_proxy.c> 683cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# ProxyRequests On 684cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 685cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# <Directory proxy:*> 686cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Order deny,allow 687cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Deny from all 688cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# Allow from .your-domain.com 689cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# </Directory> 690cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 691cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 692cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Enable/disable the handling of HTTP/1.1 "Via:" headers. 693cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # ("Full" adds the server version; "Block" removes all outgoing Via: headers) 694cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Set to one of: Off | On | Full | Block 695cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 696cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# ProxyVia On 697cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 698cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 699cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # To enable the cache as well, edit and uncomment the following lines: 700cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # (no cacheing without CacheRoot) 701cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # 702cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# CacheRoot "/private/var/run/proxy" 703cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# CacheSize 5 704cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# CacheGcInterval 4 705cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# CacheMaxExpire 24 706cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# CacheLastModifiedFactor 0.1 707cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# CacheDefaultExpire 1 708cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# NoCache a-domain.com another-domain.edu joes.garage-sale.com 709cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 710cfb0617749a64f2e177386b030d46007b8c4b179Steve Block#</IfModule> 711cfb0617749a64f2e177386b030d46007b8c4b179Steve Block# End of proxy directives. 712cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 713cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 714cfb0617749a64f2e177386b030d46007b8c4b179Steve Block<IfModule mod_php4.c> 715cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # If php is turned on, we repsect .php and .phps files. 716cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddType application/x-httpd-php .php 717cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddType application/x-httpd-php .bat 718cfb0617749a64f2e177386b030d46007b8c4b179Steve Block AddType application/x-httpd-php-source .phps 719cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 720cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # Since most users will want index.php to work we 721cfb0617749a64f2e177386b030d46007b8c4b179Steve Block # also automatically enable index.php 722cfb0617749a64f2e177386b030d46007b8c4b179Steve Block <IfModule mod_dir.c> 723cfb0617749a64f2e177386b030d46007b8c4b179Steve Block DirectoryIndex index.html index.php 724cfb0617749a64f2e177386b030d46007b8c4b179Steve Block </IfModule> 725cfb0617749a64f2e177386b030d46007b8c4b179Steve Block</IfModule> 726cfb0617749a64f2e177386b030d46007b8c4b179Steve Block 727cfb0617749a64f2e177386b030d46007b8c4b179Steve Block<IfModule mod_rewrite.c> 728cfb0617749a64f2e177386b030d46007b8c4b179Steve Block RewriteEngine On 729cfb0617749a64f2e177386b030d46007b8c4b179Steve Block RewriteCond %{REQUEST_METHOD} ^TRACE 730cfb0617749a64f2e177386b030d46007b8c4b179Steve Block RewriteRule .* - [F] 731cfb0617749a64f2e177386b030d46007b8c4b179Steve Block</IfModule> 732