blob: 952c2450b4d6108043d8de14c26af36617936414 [file] [log] [blame]
bfulgham@apple.com89db4422015-01-30 18:26:36 +00001ServerRoot "C:/xampp/apache"
2
3# Mutex file:/tmp/WebKit
bfulgham@apple.com3c7cad52015-02-01 06:54:29 +00004PidFile "c:/xampp/apache/logs/httpd.pid"
bfulgham@apple.com89db4422015-01-30 18:26:36 +00005#ScoreBoardFile "/tmp/WebKit/httpd.scoreboard"
6
7Timeout 300
8KeepAlive On
9MaxKeepAliveRequests 100
10KeepAliveTimeout 15
11
12# LoadModule unixd_module libexec/apache/mod_unixd.so
13LoadModule access_compat_module modules/mod_access_compat.so
14LoadModule authn_core_module modules/mod_authn_core.so
15LoadModule authz_core_module modules/mod_authz_core.so
16LoadModule authz_host_module modules/mod_authz_host.so
17LoadModule include_module modules/mod_include.so
18LoadModule log_config_module modules/mod_log_config.so
19LoadModule headers_module modules/mod_headers.so
20LoadModule ssl_module modules/mod_ssl.so
21LoadModule mime_module modules/mod_mime.so
22LoadModule asis_module modules/mod_asis.so
23LoadModule cgi_module modules/mod_cgi.so
24LoadModule negotiation_module modules/mod_negotiation.so
25#LoadModule imagemap_module modules/mod_imagemap.so
26LoadModule actions_module modules/mod_actions.so
27LoadModule alias_module modules/mod_alias.so
28LoadModule rewrite_module modules/mod_rewrite.so
29LoadFile "C:/xampp/php/php5ts.dll"
30LoadFile "C:/xampp/php/libpq.dll"
31LoadModule php5_module "C:/xampp/php/php5apache2_4.dll"
32
33
34ServerName 127.0.0.1
35
36<Directory />
37 Options Indexes FollowSymLinks MultiViews ExecCGI Includes
38 AllowOverride All
39 Order allow,deny
40 Allow from all
41</Directory>
42
43AccessFileName .htaccess
44
45<Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
46 Order allow,deny
47 Deny from all
48 Satisfy All
49</Files>
50
51UseCanonicalName On
52HostnameLookups Off
53
54ScriptInterpreterSource Registry-Strict
55# When using the above setting, specify the path to the Perl binary
56# using the registry keys below:
57# [HKEY_CLASSES_ROOT\.pl\Shell\ExecCGI\Command] @="c:\\PATH\TO\perl\\bin\\perl.exe"
58# HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command] @="c:\\PATH\TO\perl\\bin\\perl.exe"
59
60LogLevel warn
61
62ErrorLog "C:\xampp\apache\logs\error_log.txt"
63
64LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
65LogFormat "%h %l %u %t \"%r\" %>s %b %D" common
66LogFormat "%{Referer}i -> %U" referer
67LogFormat "%{User-agent}i" agent
68
69ServerSignature On
70
71<IfModule mod_alias.c>
72</IfModule>
73
74<IfModule mod_mime.c>
75 AddLanguage da .dk
76 AddLanguage nl .nl
77 AddLanguage en .en
78 AddLanguage et .ee
79 AddLanguage fr .fr
80 AddLanguage de .de
81 AddLanguage el .el
82 AddLanguage he .he
83 AddCharset ISO-8859-8 .iso8859-8
84 AddLanguage it .it
85 AddLanguage ja .ja
86 AddCharset ISO-2022-JP .jis
87 AddLanguage kr .kr
88 AddCharset ISO-2022-KR .iso-kr
89 AddLanguage nn .nn
90 AddLanguage no .no
91 AddLanguage pl .po
92 AddCharset ISO-8859-2 .iso-pl
93 AddLanguage pt .pt
94 AddLanguage pt-br .pt-br
95 AddLanguage ltz .lu
96 AddLanguage ca .ca
97 AddLanguage es .es
98 AddLanguage sv .sv
99 AddLanguage cs .cz .cs
100 AddLanguage ru .ru
101 AddLanguage zh-TW .zh-tw
102 AddCharset Big5 .Big5 .big5
103 AddCharset WINDOWS-1251 .cp-1251
104 AddCharset CP866 .cp866
105 AddCharset ISO-8859-5 .iso-ru
106 AddCharset KOI8-R .koi8-r
107 AddCharset UCS-2 .ucs2
108 AddCharset UCS-4 .ucs4
109 AddCharset UTF-8 .utf8
110
111 <IfModule mod_negotiation.c>
112 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
113 </IfModule>
114
115 AddType application/x-tar .tgz
116
117 AddEncoding x-compress .Z
118 AddEncoding x-gzip .gz .tgz
119
120 AddHandler cgi-script .cgi .pl
121
122 AddType text/html .shtml
123 AddHandler server-parsed .shtml
124
125 AddHandler send-as-is asis
126</IfModule>
127
128<IfModule mod_php5.c>
129 PHPIniDir "C:/xampp/php"
130
131 AddType application/x-httpd-php .php
132 AddType application/x-httpd-php .bat
133 AddType application/x-httpd-php-source .phps
134
135 <IfModule mod_dir.c>
136 DirectoryIndex index.html index.php
137 </IfModule>
138
139 php_flag log_errors on
140 php_flag short_open_tag on
141</IfModule>
142
143<IfModule mod_rewrite.c>
144 RewriteEngine On
145 RewriteCond %{REQUEST_METHOD} ^TRACE
146 RewriteRule .* - [F]
147</IfModule>
148
149# Secure (SSL/TLS) connections
150#Include conf/extra/httpd-ssl.conf
151#
152# Note: The following must must be present to support
153# starting without SSL on platforms with no /dev/random equivalent
154# but a statically compiled-in mod_ssl.
155#
156<IfModule ssl_module>
157SSLRandomSeed startup builtin
158SSLRandomSeed connect builtin
159</IfModule>
160
161<VirtualHost *:8443>
162 ServerName 127.0.0.1
163 SSLEngine On
164</VirtualHost>