httpd24f8.conf 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  1. #
  2. # This is the main Apache HTTP server configuration file. It contains the
  3. # configuration directives that give the server its instructions.
  4. # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
  5. # In particular, see
  6. # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
  7. # for a discussion of each configuration directive.
  8. #
  9. # Do NOT simply read the instructions in here without understanding
  10. # what they do. They're here only as hints or reminders. If you are unsure
  11. # consult the online docs. You have been warned.
  12. #
  13. # Configuration and logfile names: If the filenames you specify for many
  14. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  15. # server will use that explicit path. If the filenames do *not* begin
  16. # with "/", the value of ServerRoot is prepended -- so "logs/access_log"
  17. # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
  18. # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
  19. # will be interpreted as '/logs/access_log'.
  20. #
  21. # ServerRoot: The top of the directory tree under which the server's
  22. # configuration, error, and log files are kept.
  23. #
  24. # Do not add a slash at the end of the directory path. If you point
  25. # ServerRoot at a non-local disk, be sure to specify a local disk on the
  26. # Mutex directive, if file-based mutexes are used. If you wish to share the
  27. # same ServerRoot for multiple httpd daemons, you will need to change at
  28. # least PidFile.
  29. #
  30. ServerRoot "/usr/local"
  31. #
  32. # Mutex: Allows you to set the mutex mechanism and mutex file directory
  33. # for individual mutexes, or change the global defaults
  34. #
  35. # Uncomment and change the directory if mutexes are file-based and the default
  36. # mutex file directory is not on a local disk or is not appropriate for some
  37. # other reason.
  38. #
  39. # Mutex default:/var/run
  40. #
  41. # Listen: Allows you to bind Apache to specific IP addresses and/or
  42. # ports, instead of the default. See also the <VirtualHost>
  43. # directive.
  44. #
  45. # Change this to Listen on specific IP addresses as shown below to
  46. # prevent Apache from glomming onto all bound IP addresses.
  47. #
  48. #Listen 12.34.56.78:80
  49. Listen 80
  50. #
  51. # Dynamic Shared Object (DSO) Support
  52. #
  53. # To be able to use the functionality of a module which was built as a DSO you
  54. # have to place corresponding `LoadModule' lines at this location so the
  55. # directives contained in it are actually available _before_ they are used.
  56. # Statically compiled modules (those listed by `httpd -l') do not need
  57. # to be loaded here.
  58. #
  59. # Example:
  60. # LoadModule foo_module modules/mod_foo.so
  61. #
  62. LoadModule authn_file_module libexec/apache24/mod_authn_file.so
  63. #LoadModule authn_dbm_module libexec/apache24/mod_authn_dbm.so
  64. #LoadModule authn_anon_module libexec/apache24/mod_authn_anon.so
  65. #LoadModule authn_dbd_module libexec/apache24/mod_authn_dbd.so
  66. #LoadModule authn_socache_module libexec/apache24/mod_authn_socache.so
  67. LoadModule authn_core_module libexec/apache24/mod_authn_core.so
  68. LoadModule authz_host_module libexec/apache24/mod_authz_host.so
  69. LoadModule authz_groupfile_module libexec/apache24/mod_authz_groupfile.so
  70. LoadModule authz_user_module libexec/apache24/mod_authz_user.so
  71. #LoadModule authz_dbm_module libexec/apache24/mod_authz_dbm.so
  72. #LoadModule authz_owner_module libexec/apache24/mod_authz_owner.so
  73. #LoadModule authz_dbd_module libexec/apache24/mod_authz_dbd.so
  74. LoadModule authz_core_module libexec/apache24/mod_authz_core.so
  75. #LoadModule authnz_fcgi_module libexec/apache24/mod_authnz_fcgi.so
  76. LoadModule access_compat_module libexec/apache24/mod_access_compat.so
  77. LoadModule auth_basic_module libexec/apache24/mod_auth_basic.so
  78. #LoadModule auth_form_module libexec/apache24/mod_auth_form.so
  79. #LoadModule auth_digest_module libexec/apache24/mod_auth_digest.so
  80. #LoadModule allowmethods_module libexec/apache24/mod_allowmethods.so
  81. #LoadModule file_cache_module libexec/apache24/mod_file_cache.so
  82. #LoadModule cache_module libexec/apache24/mod_cache.so
  83. #LoadModule cache_disk_module libexec/apache24/mod_cache_disk.so
  84. #LoadModule cache_socache_module libexec/apache24/mod_cache_socache.so
  85. #LoadModule socache_shmcb_module libexec/apache24/mod_socache_shmcb.so
  86. #LoadModule socache_dbm_module libexec/apache24/mod_socache_dbm.so
  87. #LoadModule socache_memcache_module libexec/apache24/mod_socache_memcache.so
  88. #LoadModule watchdog_module libexec/apache24/mod_watchdog.so
  89. #LoadModule macro_module libexec/apache24/mod_macro.so
  90. #LoadModule dbd_module libexec/apache24/mod_dbd.so
  91. #LoadModule dumpio_module libexec/apache24/mod_dumpio.so
  92. #LoadModule buffer_module libexec/apache24/mod_buffer.so
  93. #LoadModule data_module libexec/apache24/mod_data.so
  94. #LoadModule ratelimit_module libexec/apache24/mod_ratelimit.so
  95. LoadModule reqtimeout_module libexec/apache24/mod_reqtimeout.so
  96. #LoadModule ext_filter_module libexec/apache24/mod_ext_filter.so
  97. #LoadModule request_module libexec/apache24/mod_request.so
  98. #LoadModule include_module libexec/apache24/mod_include.so
  99. LoadModule filter_module libexec/apache24/mod_filter.so
  100. #LoadModule reflector_module libexec/apache24/mod_reflector.so
  101. #LoadModule substitute_module libexec/apache24/mod_substitute.so
  102. #LoadModule sed_module libexec/apache24/mod_sed.so
  103. #LoadModule charset_lite_module libexec/apache24/mod_charset_lite.so
  104. LoadModule deflate_module libexec/apache24/mod_deflate.so
  105. LoadModule mime_module libexec/apache24/mod_mime.so
  106. LoadModule log_config_module libexec/apache24/mod_log_config.so
  107. #LoadModule log_debug_module libexec/apache24/mod_log_debug.so
  108. #LoadModule log_forensic_module libexec/apache24/mod_log_forensic.so
  109. #LoadModule logio_module libexec/apache24/mod_logio.so
  110. LoadModule env_module libexec/apache24/mod_env.so
  111. #LoadModule mime_magic_module libexec/apache24/mod_mime_magic.so
  112. #LoadModule cern_meta_module libexec/apache24/mod_cern_meta.so
  113. LoadModule expires_module libexec/apache24/mod_expires.so
  114. LoadModule headers_module libexec/apache24/mod_headers.so
  115. #LoadModule usertrack_module libexec/apache24/mod_usertrack.so
  116. #LoadModule unique_id_module libexec/apache24/mod_unique_id.so
  117. LoadModule setenvif_module libexec/apache24/mod_setenvif.so
  118. LoadModule version_module libexec/apache24/mod_version.so
  119. #LoadModule remoteip_module libexec/apache24/mod_remoteip.so
  120. #LoadModule proxy_module libexec/apache24/mod_proxy.so
  121. #LoadModule proxy_connect_module libexec/apache24/mod_proxy_connect.so
  122. #LoadModule proxy_ftp_module libexec/apache24/mod_proxy_ftp.so
  123. #LoadModule proxy_http_module libexec/apache24/mod_proxy_http.so
  124. #LoadModule proxy_fcgi_module libexec/apache24/mod_proxy_fcgi.so
  125. #LoadModule proxy_scgi_module libexec/apache24/mod_proxy_scgi.so
  126. #LoadModule proxy_fdpass_module libexec/apache24/mod_proxy_fdpass.so
  127. #LoadModule proxy_wstunnel_module libexec/apache24/mod_proxy_wstunnel.so
  128. #LoadModule proxy_ajp_module libexec/apache24/mod_proxy_ajp.so
  129. #LoadModule proxy_balancer_module libexec/apache24/mod_proxy_balancer.so
  130. #LoadModule proxy_express_module libexec/apache24/mod_proxy_express.so
  131. #LoadModule session_module libexec/apache24/mod_session.so
  132. #LoadModule session_cookie_module libexec/apache24/mod_session_cookie.so
  133. #LoadModule session_crypto_module libexec/apache24/mod_session_crypto.so
  134. #LoadModule session_dbd_module libexec/apache24/mod_session_dbd.so
  135. #LoadModule slotmem_shm_module libexec/apache24/mod_slotmem_shm.so
  136. #LoadModule slotmem_plain_module libexec/apache24/mod_slotmem_plain.so
  137. #LoadModule ssl_module libexec/apache24/mod_ssl.so
  138. #LoadModule dialup_module libexec/apache24/mod_dialup.so
  139. #LoadModule lbmethod_byrequests_module libexec/apache24/mod_lbmethod_byrequests.so
  140. #LoadModule lbmethod_bytraffic_module libexec/apache24/mod_lbmethod_bytraffic.so
  141. #LoadModule lbmethod_bybusyness_module libexec/apache24/mod_lbmethod_bybusyness.so
  142. #LoadModule lbmethod_heartbeat_module libexec/apache24/mod_lbmethod_heartbeat.so
  143. #LoadModule mpm_event_module libexec/apache24/mod_mpm_event.so
  144. LoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so
  145. #LoadModule mpm_worker_module libexec/apache24/mod_mpm_worker.so
  146. LoadModule unixd_module libexec/apache24/mod_unixd.so
  147. #LoadModule heartbeat_module libexec/apache24/mod_heartbeat.so
  148. #LoadModule heartmonitor_module libexec/apache24/mod_heartmonitor.so
  149. #LoadModule dav_module libexec/apache24/mod_dav.so
  150. LoadModule status_module libexec/apache24/mod_status.so
  151. LoadModule autoindex_module libexec/apache24/mod_autoindex.so
  152. #LoadModule asis_module libexec/apache24/mod_asis.so
  153. #LoadModule info_module libexec/apache24/mod_info.so
  154. <IfModule !mpm_prefork_module>
  155. #LoadModule cgid_module libexec/apache24/mod_cgid.so
  156. </IfModule>
  157. <IfModule mpm_prefork_module>
  158. #LoadModule cgi_module libexec/apache24/mod_cgi.so
  159. </IfModule>
  160. #LoadModule dav_fs_module libexec/apache24/mod_dav_fs.so
  161. #LoadModule dav_lock_module libexec/apache24/mod_dav_lock.so
  162. #LoadModule vhost_alias_module libexec/apache24/mod_vhost_alias.so
  163. #LoadModule negotiation_module libexec/apache24/mod_negotiation.so
  164. LoadModule dir_module libexec/apache24/mod_dir.so
  165. #LoadModule imagemap_module libexec/apache24/mod_imagemap.so
  166. #LoadModule actions_module libexec/apache24/mod_actions.so
  167. #LoadModule speling_module libexec/apache24/mod_speling.so
  168. #LoadModule userdir_module libexec/apache24/mod_userdir.so
  169. LoadModule alias_module libexec/apache24/mod_alias.so
  170. #LoadModule rewrite_module libexec/apache24/mod_rewrite.so
  171. #LoadModule php7_module libexec/apache24/libphp7.so
  172. LoadModule php_module libexec/apache24/libphp.so
  173. <IfModule mod_php.c>
  174. DirectoryIndex index.php index.html
  175. AddType application/x-httpd-php .php
  176. AddType application/x-httpd-php-source .phps
  177. </IfModule>
  178. # Third party modules
  179. IncludeOptional etc/apache24/modules.d/[0-9][0-9][0-9]_*.conf
  180. <IfModule unixd_module>
  181. #
  182. # If you wish httpd to run as a different user or group, you must run
  183. # httpd as root initially and it will switch.
  184. #
  185. # User/Group: The name (or #number) of the user/group to run httpd as.
  186. # It is usually good practice to create a dedicated user and group for
  187. # running httpd, as with most system services.
  188. #
  189. User www
  190. Group www
  191. </IfModule>
  192. # 'Main' server configuration
  193. #
  194. # The directives in this section set up the values used by the 'main'
  195. # server, which responds to any requests that aren't handled by a
  196. # <VirtualHost> definition. These values also provide defaults for
  197. # any <VirtualHost> containers you may define later in the file.
  198. #
  199. # All of these directives may appear inside <VirtualHost> containers,
  200. # in which case these default settings will be overridden for the
  201. # virtual host being defined.
  202. #
  203. #
  204. # ServerAdmin: Your address, where problems with the server should be
  205. # e-mailed. This address appears on some server-generated pages, such
  206. # as error documents. e.g. admin@your-domain.com
  207. #
  208. ServerAdmin you@example.com
  209. #
  210. # ServerName gives the name and port that the server uses to identify itself.
  211. # This can often be determined automatically, but we recommend you specify
  212. # it explicitly to prevent problems during startup.
  213. #
  214. # If your host doesn't have a registered DNS name, enter its IP address here.
  215. #
  216. ServerName wolfrecorder.isp:80
  217. #
  218. # Deny access to the entirety of your server's filesystem. You must
  219. # explicitly permit access to web content directories in other
  220. # <Directory> blocks below.
  221. #
  222. <Directory />
  223. AllowOverride All
  224. Order deny,allow
  225. #Deny from all
  226. </Directory>
  227. #
  228. # Note that from this point forward you must specifically allow
  229. # particular features to be enabled - so if something's not working as
  230. # you might expect, make sure that you have specifically enabled it
  231. # below.
  232. #
  233. #
  234. # DocumentRoot: The directory out of which you will serve your
  235. # documents. By default, all requests are taken from this directory, but
  236. # symbolic links and aliases may be used to point to other locations.
  237. #
  238. DocumentRoot "/usr/local/www/apache24/data"
  239. <Directory "/usr/local/www/apache24/data">
  240. #
  241. # Possible values for the Options directive are "None", "All",
  242. # or any combination of:
  243. # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  244. #
  245. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  246. # doesn't give it to you.
  247. #
  248. # The Options directive is both complicated and important. Please see
  249. # http://httpd.apache.org/docs/2.4/mod/core.html#options
  250. # for more information.
  251. #
  252. Options Indexes FollowSymLinks
  253. #
  254. # AllowOverride controls what directives may be placed in .htaccess files.
  255. # It can be "All", "None", or any combination of the keywords:
  256. # AllowOverride FileInfo AuthConfig Limit
  257. #
  258. AllowOverride All
  259. #
  260. # Controls who can get stuff from this server.
  261. #
  262. Require all granted
  263. </Directory>
  264. #
  265. # DirectoryIndex: sets the file that Apache will serve if a directory
  266. # is requested.
  267. #
  268. <IfModule dir_module>
  269. DirectoryIndex index.html
  270. </IfModule>
  271. #
  272. # The following lines prevent .htaccess and .htpasswd files from being
  273. # viewed by Web clients.
  274. #
  275. <Files ".ht*">
  276. Require all denied
  277. </Files>
  278. #
  279. # ErrorLog: The location of the error log file.
  280. # If you do not specify an ErrorLog directive within a <VirtualHost>
  281. # container, error messages relating to that virtual host will be
  282. # logged here. If you *do* define an error logfile for a <VirtualHost>
  283. # container, that host's errors will be logged there and not here.
  284. #
  285. ErrorLog "/var/log/httpd-error.log"
  286. #
  287. # LogLevel: Control the number of messages logged to the error_log.
  288. # Possible values include: debug, info, notice, warn, error, crit,
  289. # alert, emerg.
  290. #
  291. LogLevel warn
  292. <IfModule log_config_module>
  293. #
  294. # The following directives define some format nicknames for use with
  295. # a CustomLog directive (see below).
  296. #
  297. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  298. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  299. <IfModule logio_module>
  300. # You need to enable mod_logio.c to use %I and %O
  301. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  302. </IfModule>
  303. #
  304. # The location and format of the access logfile (Common Logfile Format).
  305. # If you do not define any access logfiles within a <VirtualHost>
  306. # container, they will be logged here. Contrariwise, if you *do*
  307. # define per-<VirtualHost> access logfiles, transactions will be
  308. # logged therein and *not* in this file.
  309. #
  310. CustomLog "/var/log/httpd-access.log" common
  311. #
  312. # If you prefer a logfile with access, agent, and referer information
  313. # (Combined Logfile Format) you can use the following directive.
  314. #
  315. #CustomLog "/var/log/httpd-access.log" combined
  316. </IfModule>
  317. <IfModule alias_module>
  318. #
  319. # Redirect: Allows you to tell clients about documents that used to
  320. # exist in your server's namespace, but do not anymore. The client
  321. # will make a new request for the document at its new location.
  322. # Example:
  323. # Redirect permanent /foo http://www.example.com/bar
  324. #
  325. # Alias: Maps web paths into filesystem paths and is used to
  326. # access content that does not live under the DocumentRoot.
  327. # Example:
  328. # Alias /webpath /full/filesystem/path
  329. #
  330. # If you include a trailing / on /webpath then the server will
  331. # require it to be present in the URL. You will also likely
  332. # need to provide a <Directory> section to allow access to
  333. # the filesystem path.
  334. #
  335. # ScriptAlias: This controls which directories contain server scripts.
  336. # ScriptAliases are essentially the same as Aliases, except that
  337. # documents in the target directory are treated as applications and
  338. # run by the server when requested rather than as documents sent to the
  339. # client. The same rules about trailing "/" apply to ScriptAlias
  340. # directives as to Alias.
  341. #
  342. ScriptAlias /cgi-bin/ "/usr/local/www/apache24/cgi-bin/"
  343. </IfModule>
  344. <IfModule cgid_module>
  345. #
  346. # ScriptSock: On threaded servers, designate the path to the UNIX
  347. # socket used to communicate with the CGI daemon of mod_cgid.
  348. #
  349. #Scriptsock cgisock
  350. </IfModule>
  351. #
  352. # "/usr/local/www/apache24/cgi-bin" should be changed to whatever your ScriptAliased
  353. # CGI directory exists, if you have that configured.
  354. #
  355. <Directory "/usr/local/www/apache24/cgi-bin">
  356. AllowOverride None
  357. Options None
  358. Require all granted
  359. </Directory>
  360. <IfModule mime_module>
  361. #
  362. # TypesConfig points to the file containing the list of mappings from
  363. # filename extension to MIME-type.
  364. #
  365. TypesConfig etc/apache24/mime.types
  366. #
  367. # AddType allows you to add to or override the MIME configuration
  368. # file specified in TypesConfig for specific file types.
  369. #
  370. #AddType application/x-gzip .tgz
  371. #
  372. # AddEncoding allows you to have certain browsers uncompress
  373. # information on the fly. Note: Not all browsers support this.
  374. #
  375. #AddEncoding x-compress .Z
  376. #AddEncoding x-gzip .gz .tgz
  377. #
  378. # If the AddEncoding directives above are commented-out, then you
  379. # probably should define those extensions to indicate media types:
  380. #
  381. AddType application/x-compress .Z
  382. AddType application/x-gzip .gz .tgz
  383. #
  384. # AddHandler allows you to map certain file extensions to "handlers":
  385. # actions unrelated to filetype. These can be either built into the server
  386. # or added with the Action directive (see below)
  387. #
  388. # To use CGI scripts outside of ScriptAliased directories:
  389. # (You will also need to add "ExecCGI" to the "Options" directive.)
  390. #
  391. #AddHandler cgi-script .cgi
  392. # For type maps (negotiated resources):
  393. #AddHandler type-map var
  394. #
  395. # Filters allow you to process content before it is sent to the client.
  396. #
  397. # To parse .shtml files for server-side includes (SSI):
  398. # (You will also need to add "Includes" to the "Options" directive.)
  399. #
  400. #AddType text/html .shtml
  401. #AddOutputFilter INCLUDES .shtml
  402. </IfModule>
  403. #
  404. # The mod_mime_magic module allows the server to use various hints from the
  405. # contents of the file itself to determine its type. The MIMEMagicFile
  406. # directive tells the module where the hint definitions are located.
  407. #
  408. #MIMEMagicFile etc/apache24/magic
  409. #
  410. # Customizable error responses come in three flavors:
  411. # 1) plain text 2) local redirects 3) external redirects
  412. #
  413. # Some examples:
  414. #ErrorDocument 500 "The server made a boo boo."
  415. #ErrorDocument 404 /missing.html
  416. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  417. #ErrorDocument 402 http://www.example.com/subscription_info.html
  418. #
  419. #
  420. # MaxRanges: Maximum number of Ranges in a request before
  421. # returning the entire resource, or one of the special
  422. # values 'default', 'none' or 'unlimited'.
  423. # Default setting is to accept 200 Ranges.
  424. #MaxRanges unlimited
  425. #
  426. # EnableMMAP and EnableSendfile: On systems that support it,
  427. # memory-mapping or the sendfile syscall may be used to deliver
  428. # files. This usually improves server performance, but must
  429. # be turned off when serving from networked-mounted
  430. # filesystems or if support for these functions is otherwise
  431. # broken on your system.
  432. # Defaults: EnableMMAP On, EnableSendfile Off
  433. #
  434. #EnableMMAP off
  435. #EnableSendfile on
  436. # Supplemental configuration
  437. #
  438. # The configuration files in the etc/apache24/extra/ directory can be
  439. # included to add extra features or to modify the default configuration of
  440. # the server, or you may simply copy their contents here and change as
  441. # necessary.
  442. # Server-pool management (MPM specific)
  443. #Include etc/apache24/extra/httpd-mpm.conf
  444. # Multi-language error messages
  445. #Include etc/apache24/extra/httpd-multilang-errordoc.conf
  446. # Fancy directory listings
  447. #Include etc/apache24/extra/httpd-autoindex.conf
  448. # Language settings
  449. #Include etc/apache24/extra/httpd-languages.conf
  450. # User home directories
  451. #Include etc/apache24/extra/httpd-userdir.conf
  452. # Real-time info on requests and configuration
  453. #Include etc/apache24/extra/httpd-info.conf
  454. # Virtual hosts
  455. #Include etc/apache24/extra/httpd-vhosts.conf
  456. # Local access to the Apache HTTP Server Manual
  457. #Include etc/apache24/extra/httpd-manual.conf
  458. # Distributed authoring and versioning (WebDAV)
  459. #Include etc/apache24/extra/httpd-dav.conf
  460. # Various default settings
  461. #Include etc/apache24/extra/httpd-default.conf
  462. # Configure mod_proxy_html to understand HTML4/XHTML1
  463. <IfModule proxy_html_module>
  464. Include etc/apache24/extra/proxy-html.conf
  465. </IfModule>
  466. # Secure (SSL/TLS) connections
  467. #Include etc/apache24/extra/httpd-ssl.conf
  468. #
  469. # Note: The following must must be present to support
  470. # starting without SSL on platforms with no /dev/random equivalent
  471. # but a statically compiled-in mod_ssl.
  472. #
  473. <IfModule ssl_module>
  474. SSLRandomSeed startup builtin
  475. SSLRandomSeed connect builtin
  476. </IfModule>
  477. #
  478. # uncomment out the below to deal with user agents that deliberately
  479. # violate open standards by misusing DNT (DNT *must* be a specific
  480. # end-user choice)
  481. #
  482. #<IfModule setenvif_module>
  483. #BrowserMatch "MSIE 10.0;" bad_DNT
  484. #</IfModule>
  485. #<IfModule headers_module>
  486. #RequestHeader unset DNT env=bad_DNT
  487. #</IfModule>
  488. Include etc/apache24/Includes/*.conf
  489. #some custom values here
  490. MaxKeepAliveRequests 200
  491. KeepAliveTimeout 10
  492. <IfModule mpm_prefork_module>
  493. StartServers 10
  494. MinSpareServers 10
  495. MaxSpareServers 20
  496. MaxRequestWorkers 250
  497. MaxConnectionsPerChild 0
  498. </IfModule>
  499. <IfModule mod_headers.c>
  500. Header set Access-Control-Allow-Origin *
  501. </IfModule>