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