OLD | NEW |
| (Empty) |
1 ServerTokens OS | |
2 ServerRoot "/etc/httpd" | |
3 | |
4 PidFile "/tmp/WebKit/httpd.pid" | |
5 ScoreBoardFile "/tmp/WebKit/httpd.scoreboard" | |
6 | |
7 Timeout 300 | |
8 KeepAlive On | |
9 MaxKeepAliveRequests 100 | |
10 KeepAliveTimeout 15 | |
11 | |
12 MinSpareServers 1 | |
13 MaxSpareServers 5 | |
14 StartServers 1 | |
15 MaxClients 150 | |
16 MaxRequestsPerChild 100000 | |
17 | |
18 LoadModule mpm_prefork_module modules/mod_mpm_prefork.so | |
19 LoadModule authz_core_module modules/mod_authz_core.so | |
20 LoadModule authz_host_module modules/mod_authz_host.so | |
21 LoadModule include_module modules/mod_include.so | |
22 LoadModule log_config_module modules/mod_log_config.so | |
23 LoadModule headers_module modules/mod_headers.so | |
24 LoadModule mime_module modules/mod_mime.so | |
25 LoadModule negotiation_module modules/mod_negotiation.so | |
26 LoadModule actions_module modules/mod_actions.so | |
27 LoadModule alias_module modules/mod_alias.so | |
28 LoadModule rewrite_module modules/mod_rewrite.so | |
29 LoadModule cgi_module modules/mod_cgi.so | |
30 LoadModule ssl_module modules/mod_ssl.so | |
31 LoadModule unixd_module modules/mod_unixd.so | |
32 LoadModule php5_module modules/libphp5.so | |
33 | |
34 LoadModule asis_module modules/mod_asis.so | |
35 | |
36 User apache | |
37 Group apache | |
38 | |
39 ServerAdmin root@localhost | |
40 ServerName 127.0.0.1 | |
41 | |
42 UseCanonicalName On | |
43 | |
44 <Directory /> | |
45 Options Indexes FollowSymLinks MultiViews ExecCGI Includes | |
46 AllowOverride All | |
47 Require all granted | |
48 </Directory> | |
49 | |
50 AccessFileName .htaccess | |
51 | |
52 <Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])"> | |
53 Require all denied | |
54 </Files> | |
55 | |
56 TypesConfig /etc/mime.types | |
57 HostnameLookups Off | |
58 | |
59 LogLevel warn | |
60 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combine
d | |
61 LogFormat "%h %l %u %t \"%r\" %>s %b" common | |
62 LogFormat "%{Referer}i -> %U" referer | |
63 LogFormat "%{User-agent}i" agent | |
64 | |
65 ServerSignature On | |
66 | |
67 AddLanguage ca .ca | |
68 AddLanguage cs .cz .cs | |
69 AddLanguage da .dk | |
70 AddLanguage de .de | |
71 AddLanguage el .el | |
72 AddLanguage en .en | |
73 AddLanguage eo .eo | |
74 AddLanguage es .es | |
75 AddLanguage et .et | |
76 AddLanguage fr .fr | |
77 AddLanguage he .he | |
78 AddLanguage hr .hr | |
79 AddLanguage it .it | |
80 AddLanguage ja .ja | |
81 AddLanguage ko .ko | |
82 AddLanguage ltz .ltz | |
83 AddLanguage nl .nl | |
84 AddLanguage nn .nn | |
85 AddLanguage no .no | |
86 AddLanguage pl .po | |
87 AddLanguage pt .pt | |
88 AddLanguage pt-BR .pt-br | |
89 AddLanguage ru .ru | |
90 AddLanguage sv .sv | |
91 AddLanguage zh-CN .zh-cn | |
92 AddLanguage zh-TW .zh-tw | |
93 AddCharset Big5 .Big5 .big5 | |
94 AddCharset WINDOWS-1251 .cp-1251 | |
95 AddCharset CP866 .cp866 | |
96 AddCharset ISO-8859-5 .iso-ru | |
97 AddCharset KOI8-R .koi8-r | |
98 AddCharset UCS-2 .ucs2 | |
99 AddCharset UCS-4 .ucs4 | |
100 AddCharset UTF-8 .utf8 | |
101 | |
102 <IfModule mod_negotiation.c> | |
103 LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no p
l pt pt-BR ru sv zh-CN zh-TW | |
104 </IfModule> | |
105 | |
106 AddEncoding x-compress .Z | |
107 AddEncoding x-gzip .gz .tgz | |
108 | |
109 AddType application/x-x509-ca-cert .crt | |
110 AddType application/x-pkcs7-crl .crl | |
111 | |
112 AddHandler cgi-script .cgi .pl | |
113 | |
114 AddType text/html .shtml | |
115 AddOutputFilter INCLUDES .shtml | |
116 | |
117 AddHandler send-as-is asis | |
118 | |
119 <IfModule mod_php5.c> | |
120 AddType application/x-httpd-php .php | |
121 AddType application/x-httpd-php .bat | |
122 AddType application/x-httpd-php-source .phps | |
123 | |
124 <IfModule mod_dir.c> | |
125 DirectoryIndex index.html index.php | |
126 </IfModule> | |
127 | |
128 php_flag log_errors on | |
129 php_flag short_open_tag on | |
130 </IfModule> | |
131 | |
132 <IfModule mod_rewrite.c> | |
133 RewriteEngine On | |
134 RewriteCond %{REQUEST_METHOD} ^TRACE | |
135 RewriteRule .* - [F] | |
136 </IfModule> | |
137 | |
138 <VirtualHost *:8443> | |
139 ServerName 127.0.0.1 | |
140 SSLEngine On | |
141 </VirtualHost> | |
142 | |
143 # | |
144 # Apple-specific filesystem protection. | |
145 # | |
146 <Files "rsrc"> | |
147 Require all denied | |
148 </Files> | |
149 | |
150 <Directory ~ ".*\.\.namedfork"> | |
151 Require all denied | |
152 </Directory> | |
OLD | NEW |