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# We listen to both IPv4 and IPv6 loop-back addresses, but ignore 167# requests to 8000 from random users on network. 168# See https://bugs.webkit.org/show_bug.cgi?id=37104 169# FIXME: This breaks the GTK-Debug and Chromium-Linux bots. 170# Starting up apache fails on this line with a syntax error. 171# Need a way to detect if the machine supports ipv6 and then 172# only do this binding in that case. 173#Listen [::1]:8000 174#Listen [::1]:8080 175#Listen [::1]:8443 176 177# 178# Dynamic Shared Object (DSO) Support 179# 180# To be able to use the functionality of a module which was built as a DSO you 181# have to place corresponding `LoadModule' lines at this location so the 182# directives contained in it are actually available _before_ they are used. 183# Please read the file http://httpd.apache.org/docs/dso.html for more 184# details about the DSO mechanism and run `httpd -l' for the list of already 185# built-in (statically linked and thus always available) modules in your httpd 186# binary. 187# 188# Note: The order in which modules are loaded is important. Don't change 189# the order below without expert advice. 190# 191# Example: 192# LoadModule foo_module libexec/mod_foo.so 193#LoadModule vhost_alias_module /usr/lib/apache2/modules/mod_vhost_alias.so 194#LoadModule env_module /usr/lib/apache2/modules/mod_env.so 195#LoadModule log_config_module /usr/lib/apache2/modules/mod_log_config.so 196#LoadModule mime_magic_module /usr/lib/apache2/modules/mod_mime_magic.so 197LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so 198LoadModule negotiation_module /usr/lib/apache2/modules/mod_negotiation.so 199#LoadModule status_module /usr/lib/apache2/modules/mod_status.so 200#LoadModule info_module /usr/lib/apache2/modules/mod_info.so 201LoadModule include_module /usr/lib/apache2/modules/mod_include.so 202#LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so 203#LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so 204LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so 205LoadModule asis_module /usr/lib/apache2/modules/mod_asis.so 206LoadModule imagemap_module /usr/lib/apache2/modules/mod_imagemap.so 207LoadModule actions_module /usr/lib/apache2/modules/mod_actions.so 208#LoadModule speling_module /usr/lib/apache2/modules/mod_speling.so 209#LoadModule userdir_module /usr/lib/apache2/modules/mod_userdir.so 210LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so 211LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so 212LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so 213#LoadModule auth_module /usr/lib/apache2/modules/mod_auth_basic.so 214#LoadModule anon_auth_module /usr/lib/apache2/modules/mod_auth_anon.so 215#LoadModule dbm_auth_module /usr/lib/apache2/modules/mod_auth_dbm.so 216#LoadModule digest_module /usr/lib/apache2/modules/mod_digest.so 217#LoadModule proxy_module /usr/lib/apache2/modules/libproxy.so 218#LoadModule cern_meta_module /usr/lib/apache2/modules/mod_cern_meta.so 219#LoadModule expires_module /usr/lib/apache2/modules/mod_expires.so 220LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so 221#LoadModule usertrack_module /usr/lib/apache2/modules/mod_usertrack.so 222#LoadModule log_forensic_module /usr/lib/apache2/modules/mod_log_forensic.so 223#LoadModule unique_id_module /usr/lib/apache2/modules/mod_unique_id.so 224#LoadModule setenvif_module /usr/lib/apache2/modules/mod_setenvif.so 225#LoadModule dav_module /usr/lib/apache2/modules/libdav.so 226LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so 227#LoadModule perl_module /usr/lib/apache2/modules/libperl.so 228LoadModule php5_module /usr/lib/apache2/modules/libphp5.so 229#LoadModule hfs_apple_module /usr/lib/apache2/modules/mod_hfs_apple.so 230#LoadModule bonjour_module /usr/lib/apache2/modules/mod_bonjour.so 231 232### Section 2: 'Main' server configuration 233# 234# The directives in this section set up the values used by the 'main' 235# server, which responds to any requests that aren't handled by a 236# <VirtualHost> definition. These values also provide defaults for 237# any <VirtualHost> containers you may define later in the file. 238# 239# All of these directives may appear inside <VirtualHost> containers, 240# in which case these default settings will be overridden for the 241# virtual host being defined. 242# 243 244# 245# ServerName allows you to set a host name which is sent back to clients for 246# your server if it's different than the one the program would get (i.e., use 247# "www" instead of the host's real name). 248# 249# Note: You cannot just invent host names and hope they work. The name you 250# define here must be a valid DNS name for your host. If you don't understand 251# this, ask your network administrator. 252# If your host doesn't have a registered DNS name, enter its IP address here. 253# You will have to access it by its address (e.g., http://123.45.67.89/) 254# anyway, and this will make redirections work in a sensible way. 255# 256# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your 257# machine always knows itself by this address. If you use Apache strictly for 258# local testing and development, you may use 127.0.0.1 as the server name. 259# 260ServerName 127.0.0.1 261 262# 263# DocumentRoot: The directory out of which you will serve your 264# documents. By default, all requests are taken from this directory, but 265# symbolic links and aliases may be used to point to other locations. 266# 267# Configured from the httpd command line for WebKit layout tests. 268#DocumentRoot "/Library/WebServer/Documents" 269 270# 271# Each directory to which Apache has access, can be configured with respect 272# to which services and features are allowed and/or disabled in that 273# directory (and its subdirectories). 274# 275<Directory /> 276# 277# This may also be "None", "All", or any combination of "Indexes", 278# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". 279# 280# Note that "MultiViews" must be named *explicitly* --- "Options All" 281# doesn't give it to you. 282# 283 Options Indexes FollowSymLinks MultiViews ExecCGI Includes 284 285# 286# This controls which options the .htaccess files in directories can 287# override. Can also be "All", or any combination of "Options", "FileInfo", 288# "AuthConfig", and "Limit" 289# 290 AllowOverride All 291 292# 293# Controls who can get stuff from this server. 294# 295 Order allow,deny 296 Allow from all 297</Directory> 298 299# 300# AccessFileName: The name of the file to look for in each directory 301# for access control information. 302# 303AccessFileName .htaccess 304 305# 306# The following lines prevent .htaccess files from being viewed by 307# Web clients. Since .htaccess files often contain authorization 308# information, access is disallowed for security reasons. Comment 309# these lines out if you want Web visitors to see the contents of 310# .htaccess files. If you change the AccessFileName directive above, 311# be sure to make the corresponding changes here. 312# 313# Also, folks tend to use names such as .htpasswd for password 314# files, so this will protect those as well. 315# 316<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])"> 317 Order allow,deny 318 Deny from all 319 Satisfy All 320</Files> 321 322# 323# Apple specific filesystem protection. 324# 325 326<Files "rsrc"> 327 Order allow,deny 328 Deny from all 329 Satisfy All 330</Files> 331 332<Directory ~ ".*\.\.namedfork"> 333 Order allow,deny 334 Deny from all 335 Satisfy All 336</Directory> 337 338# 339# CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each 340# document that was negotiated on the basis of content. This asks proxy 341# servers not to cache the document. Uncommenting the following line disables 342# this behavior, and proxies will be allowed to cache the documents. 343# 344#CacheNegotiatedDocs 345 346# 347# UseCanonicalName: (new for 1.3) With this setting turned on, whenever 348# Apache needs to construct a self-referencing URL (a URL that refers back 349# to the server the response is coming from) it will use ServerName and 350# Port to form a "canonical" name. With this setting off, Apache will 351# use the hostname:port that the client supplied, when possible. This 352# also affects SERVER_NAME and SERVER_PORT in CGI scripts. 353# 354UseCanonicalName On 355 356# 357# TypesConfig describes where the mime.types file (or equivalent) is 358# to be found. 359# 360# Configured from the httpd command line for WebKit layout tests. 361# 362#<IfModule mod_mime.c> 363# TypesConfig /private/etc/apache2/mime.types 364#</IfModule> 365 366# 367# DefaultType is the default MIME type the server will use for a document 368# if it cannot otherwise determine one, such as from filename extensions. 369# If your server contains mostly text or HTML documents, "text/plain" is 370# a good value. If most of your content is binary, such as applications 371# or images, you may want to use "application/octet-stream" instead to 372# keep browsers from trying to display binary files as though they are 373# text. 374# 375DefaultType text/plain 376 377# 378# HostnameLookups: Log the names of clients or just their IP addresses 379# e.g., www.apache.org (on) or 204.62.129.132 (off). 380# The default is off because it'd be overall better for the net if people 381# had to knowingly turn this feature on, since enabling it means that 382# each client request will result in AT LEAST one lookup request to the 383# nameserver. 384# 385HostnameLookups Off 386 387# 388# ErrorLog: The location of the error log file. 389# If you do not specify an ErrorLog directive within a <VirtualHost> 390# container, error messages relating to that virtual host will be 391# logged here. If you *do* define an error logfile for a <VirtualHost> 392# container, that host's errors will be logged there and not here. 393# 394# Configured from the httpd command line for WebKit layout tests. 395#ErrorLog "/tmp/layout-test-results/error_log" 396 397# 398# LogLevel: Control the number of messages logged to the error_log. 399# Possible values include: debug, info, notice, warn, error, crit, 400# alert, emerg. 401# 402LogLevel warn 403 404# 405# The following directives define some format nicknames for use with 406# a CustomLog directive (see below). 407# 408LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 409LogFormat "%h %l %u %t \"%r\" %>s %b" common 410LogFormat "%{Referer}i -> %U" referer 411LogFormat "%{User-agent}i" agent 412 413# 414# The location and format of the access logfile (Common Logfile Format). 415# If you do not define any access logfiles within a <VirtualHost> 416# container, they will be logged here. Contrariwise, if you *do* 417# define per-<VirtualHost> access logfiles, transactions will be 418# logged therein and *not* in this file. 419# 420# Configured from the httpd command line for WebKit layout tests. 421#CustomLog "/tmp/layout-test-results/access_log" common 422 423# 424# If you prefer a single logfile with access, agent, and referer information 425# (Combined Logfile Format) you can use the following directive. 426# 427#CustomLog "/tmp/layout-test-results/access_log" combined 428 429# 430# Optionally add a line containing the server version and virtual host 431# name to server-generated pages (error documents, FTP directory listings, 432# mod_status and mod_info output etc., but not CGI generated documents). 433# Set to "EMail" to also include a mailto: link to the ServerAdmin. 434# Set to one of: On | Off | EMail 435# 436ServerSignature On 437 438# 439# Aliases: Add here as many aliases as you need (with no limit). The format is 440# Alias fakename realname 441# 442<IfModule mod_alias.c> 443</IfModule> 444# End of aliases. 445 446# 447# Redirect allows you to tell clients about documents which used to exist in 448# your server's namespace, but do not anymore. This allows you to tell the 449# clients where to look for the relocated document. 450# Format: Redirect old-URI new-URL 451# 452 453# 454# Document types. 455# 456<IfModule mod_mime.c> 457 458 # 459 # AddLanguage allows you to specify the language of a document. You can 460 # then use content negotiation to give a browser a file in a language 461 # it can understand. 462 # 463 # Note 1: The suffix does not have to be the same as the language 464 # keyword --- those with documents in Polish (whose net-standard 465 # language code is pl) may wish to use "AddLanguage pl .po" to 466 # avoid the ambiguity with the common suffix for perl scripts. 467 # 468 # Note 2: The example entries below illustrate that in quite 469 # some cases the two character 'Language' abbreviation is not 470 # identical to the two character 'Country' code for its country, 471 # E.g. 'Danmark/dk' versus 'Danish/da'. 472 # 473 # Note 3: In the case of 'ltz' we violate the RFC by using a three char 474 # specifier. But there is 'work in progress' to fix this and get 475 # the reference data for rfc1766 cleaned up. 476 # 477 # Danish (da) - Dutch (nl) - English (en) - Estonian (ee) 478 # French (fr) - German (de) - Greek-Modern (el) 479 # Italian (it) - Korean (kr) - Norwegian (no) - Norwegian Nynorsk (nn) 480 # Portugese (pt) - Luxembourgeois* (ltz) 481 # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cs) 482 # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) 483 # Russian (ru) 484 # 485 AddLanguage da .dk 486 AddLanguage nl .nl 487 AddLanguage en .en 488 AddLanguage et .ee 489 AddLanguage fr .fr 490 AddLanguage de .de 491 AddLanguage el .el 492 AddLanguage he .he 493 AddCharset ISO-8859-8 .iso8859-8 494 AddLanguage it .it 495 AddLanguage ja .ja 496 AddCharset ISO-2022-JP .jis 497 AddLanguage kr .kr 498 AddCharset ISO-2022-KR .iso-kr 499 AddLanguage nn .nn 500 AddLanguage no .no 501 AddLanguage pl .po 502 AddCharset ISO-8859-2 .iso-pl 503 AddLanguage pt .pt 504 AddLanguage pt-br .pt-br 505 AddLanguage ltz .lu 506 AddLanguage ca .ca 507 AddLanguage es .es 508 AddLanguage sv .sv 509 AddLanguage cs .cz .cs 510 AddLanguage ru .ru 511 AddLanguage zh-TW .zh-tw 512 AddCharset Big5 .Big5 .big5 513 AddCharset WINDOWS-1251 .cp-1251 514 AddCharset CP866 .cp866 515 AddCharset ISO-8859-5 .iso-ru 516 AddCharset KOI8-R .koi8-r 517 AddCharset UCS-2 .ucs2 518 AddCharset UCS-4 .ucs4 519 AddCharset UTF-8 .utf8 520 521 # LanguagePriority allows you to give precedence to some languages 522 # in case of a tie during content negotiation. 523 # 524 # Just list the languages in decreasing order of preference. We have 525 # more or less alphabetized them here. You probably want to change this. 526 # 527 <IfModule mod_negotiation.c> 528 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw 529 </IfModule> 530 531 # 532 # AddType allows you to tweak mime.types without actually editing it, or to 533 # make certain files to be certain types. 534 # 535 AddType application/x-tar .tgz 536 537 # 538 # AddEncoding allows you to have certain browsers uncompress 539 # information on the fly. Note: Not all browsers support this. 540 # Despite the name similarity, the following Add* directives have nothing 541 # to do with the FancyIndexing customization directives above. 542 # 543 AddEncoding x-compress .Z 544 AddEncoding x-gzip .gz .tgz 545 # 546 # If the AddEncoding directives above are commented-out, then you 547 # probably should define those extensions to indicate media types: 548 # 549 #AddType application/x-compress .Z 550 #AddType application/x-gzip .gz .tgz 551 552 # 553 # AddHandler allows you to map certain file extensions to "handlers", 554 # actions unrelated to filetype. These can be either built into the server 555 # or added with the Action command (see below) 556 # 557 # If you want to use server side includes, or CGI outside 558 # ScriptAliased directories, uncomment the following lines. 559 # 560 # To use CGI scripts: 561 # 562 AddHandler cgi-script .cgi .pl 563 564 # 565 # To use server-parsed HTML files 566 # 567 AddType text/html .shtml 568 AddHandler server-parsed .shtml 569 570 # 571 # Uncomment the following line to enable Apache's send-asis HTTP file 572 # feature 573 # 574 AddHandler send-as-is asis 575 576 # 577 # If you wish to use server-parsed imagemap files, use 578 # 579 #AddHandler imap-file map 580 581 # 582 # To enable type maps, you might want to use 583 # 584 #AddHandler type-map var 585 586</IfModule> 587# End of document types. 588 589# 590# Action lets you define media types that will execute a script whenever 591# a matching file is called. This eliminates the need for repeated URL 592# pathnames for oft-used CGI file processors. 593# Format: Action media/type /cgi-script/location 594# Format: Action handler-name /cgi-script/location 595# 596 597# 598# MetaDir: specifies the name of the directory in which Apache can find 599# meta information files. These files contain additional HTTP headers 600# to include when sending the document 601# 602#MetaDir .web 603 604# 605# MetaSuffix: specifies the file name suffix for the file containing the 606# meta information. 607# 608#MetaSuffix .meta 609 610# 611# Customizable error response (Apache style) 612# these come in three flavors 613# 614# 1) plain text 615#ErrorDocument 500 "The server made a boo boo. 616# n.b. the single leading (") marks it as text, it does not get output 617# 618# 2) local redirects 619#ErrorDocument 404 /missing.html 620# to redirect to local URL /missing.html 621#ErrorDocument 404 /cgi-bin/missing_handler.pl 622# N.B.: You can redirect to a script or a document using server-side-includes. 623# 624# 3) external redirects 625#ErrorDocument 402 http://some.other-server.com/subscription_info.html 626# N.B.: Many of the environment variables associated with the original 627# request will *not* be available to such a script. 628 629# 630# Proxy Server directives. Uncomment the following lines to 631# enable the proxy server: 632# 633#<IfModule mod_proxy.c> 634# ProxyRequests On 635 636# <Directory proxy:*> 637# Order deny,allow 638# Deny from all 639# Allow from .your-domain.com 640# </Directory> 641 642 # 643 # Enable/disable the handling of HTTP/1.1 "Via:" headers. 644 # ("Full" adds the server version; "Block" removes all outgoing Via: headers) 645 # Set to one of: Off | On | Full | Block 646 # 647# ProxyVia On 648 649 # 650 # To enable the cache as well, edit and uncomment the following lines: 651 # (no cacheing without CacheRoot) 652 # 653# CacheRoot "/private/var/run/proxy" 654# CacheSize 5 655# CacheGcInterval 4 656# CacheMaxExpire 24 657# CacheLastModifiedFactor 0.1 658# CacheDefaultExpire 1 659# NoCache a-domain.com another-domain.edu joes.garage-sale.com 660 661#</IfModule> 662# End of proxy directives. 663 664 665<IfModule mod_php5.c> 666 # If php is turned on, we repsect .php and .phps files. 667 AddType application/x-httpd-php .php 668 AddType application/x-httpd-php .bat 669 AddType application/x-httpd-php-source .phps 670 671 # Since most users will want index.php to work we 672 # also automatically enable index.php 673 <IfModule mod_dir.c> 674 DirectoryIndex index.html index.php 675 </IfModule> 676</IfModule> 677 678<IfModule mod_rewrite.c> 679 RewriteEngine On 680 RewriteCond %{REQUEST_METHOD} ^TRACE 681 RewriteRule .* - [F] 682</IfModule> 683 684<VirtualHost *:8443> 685 ServerName 127.0.0.1 686 SSLEngine On 687</VirtualHost> 688