SoftTimur

Untitled

Oct 10th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.27 KB | None | 0 0
  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. #
  22. # ServerRoot: The top of the directory tree under which the server's
  23. # configuration, error, and log files are kept.
  24. #
  25. # Do not add a slash at the end of the directory path. If you point
  26. # ServerRoot at a non-local disk, be sure to specify a local disk on the
  27. # Mutex directive, if file-based mutexes are used. If you wish to share the
  28. # same ServerRoot for multiple httpd daemons, you will need to change at
  29. # least PidFile.
  30. #
  31. ServerRoot "/usr"
  32.  
  33. #
  34. # Mutex: Allows you to set the mutex mechanism and mutex file directory
  35. # for individual mutexes, or change the global defaults
  36. #
  37. # Uncomment and change the directory if mutexes are file-based and the default
  38. # mutex file directory is not on a local disk or is not appropriate for some
  39. # other reason.
  40. #
  41. # Mutex default:/private/var/run
  42.  
  43. #
  44. # Listen: Allows you to bind Apache to specific IP addresses and/or
  45. # ports, instead of the default. See also the <VirtualHost>
  46. # directive.
  47. #
  48. # Change this to Listen on specific IP addresses as shown below to
  49. # prevent Apache from glomming onto all bound IP addresses.
  50. #
  51. #Listen 12.34.56.78:80
  52. Listen 80
  53.  
  54. #
  55. # Dynamic Shared Object (DSO) Support
  56. #
  57. # To be able to use the functionality of a module which was built as a DSO you
  58. # have to place corresponding `LoadModule' lines at this location so the
  59. # directives contained in it are actually available _before_ they are used.
  60. # Statically compiled modules (those listed by `httpd -l') do not need
  61. # to be loaded here.
  62. #
  63. # Example:
  64. # LoadModule foo_module modules/mod_foo.so
  65. #
  66. LoadModule authn_file_module libexec/apache2/mod_authn_file.so
  67. #LoadModule authn_dbm_module libexec/apache2/mod_authn_dbm.so
  68. #LoadModule authn_anon_module libexec/apache2/mod_authn_anon.so
  69. #LoadModule authn_dbd_module libexec/apache2/mod_authn_dbd.so
  70. #LoadModule authn_socache_module libexec/apache2/mod_authn_socache.so
  71. LoadModule authn_core_module libexec/apache2/mod_authn_core.so
  72. LoadModule authz_host_module libexec/apache2/mod_authz_host.so
  73. LoadModule authz_groupfile_module libexec/apache2/mod_authz_groupfile.so
  74. LoadModule authz_user_module libexec/apache2/mod_authz_user.so
  75. #LoadModule authz_dbm_module libexec/apache2/mod_authz_dbm.so
  76. #LoadModule authz_owner_module libexec/apache2/mod_authz_owner.so
  77. #LoadModule authz_dbd_module libexec/apache2/mod_authz_dbd.so
  78. LoadModule authz_core_module libexec/apache2/mod_authz_core.so
  79. #LoadModule authnz_ldap_module libexec/apache2/mod_authnz_ldap.so
  80. LoadModule access_compat_module libexec/apache2/mod_access_compat.so
  81. LoadModule auth_basic_module libexec/apache2/mod_auth_basic.so
  82. #LoadModule auth_form_module libexec/apache2/mod_auth_form.so
  83. #LoadModule auth_digest_module libexec/apache2/mod_auth_digest.so
  84. #LoadModule allowmethods_module libexec/apache2/mod_allowmethods.so
  85. #LoadModule file_cache_module libexec/apache2/mod_file_cache.so
  86. #LoadModule cache_module libexec/apache2/mod_cache.so
  87. #LoadModule cache_disk_module libexec/apache2/mod_cache_disk.so
  88. #LoadModule cache_socache_module libexec/apache2/mod_cache_socache.so
  89. #LoadModule socache_shmcb_module libexec/apache2/mod_socache_shmcb.so
  90. #LoadModule socache_dbm_module libexec/apache2/mod_socache_dbm.so
  91. #LoadModule socache_memcache_module libexec/apache2/mod_socache_memcache.so
  92. #LoadModule watchdog_module libexec/apache2/mod_watchdog.so
  93. #LoadModule macro_module libexec/apache2/mod_macro.so
  94. #LoadModule dbd_module libexec/apache2/mod_dbd.so
  95. #LoadModule dumpio_module libexec/apache2/mod_dumpio.so
  96. #LoadModule echo_module libexec/apache2/mod_echo.so
  97. #LoadModule buffer_module libexec/apache2/mod_buffer.so
  98. #LoadModule data_module libexec/apache2/mod_data.so
  99. #LoadModule ratelimit_module libexec/apache2/mod_ratelimit.so
  100. LoadModule reqtimeout_module libexec/apache2/mod_reqtimeout.so
  101. #LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so
  102. #LoadModule request_module libexec/apache2/mod_request.so
  103. #LoadModule include_module libexec/apache2/mod_include.so
  104. LoadModule filter_module libexec/apache2/mod_filter.so
  105. #LoadModule reflector_module libexec/apache2/mod_reflector.so
  106. #LoadModule substitute_module libexec/apache2/mod_substitute.so
  107. #LoadModule sed_module libexec/apache2/mod_sed.so
  108. #LoadModule charset_lite_module libexec/apache2/mod_charset_lite.so
  109. #LoadModule deflate_module libexec/apache2/mod_deflate.so
  110. #LoadModule xml2enc_module libexec/apache2/mod_xml2enc.so
  111. #LoadModule proxy_html_module libexec/apache2/mod_proxy_html.so
  112. LoadModule mime_module libexec/apache2/mod_mime.so
  113. #LoadModule ldap_module libexec/apache2/mod_ldap.so
  114. LoadModule log_config_module libexec/apache2/mod_log_config.so
  115. #LoadModule log_debug_module libexec/apache2/mod_log_debug.so
  116. #LoadModule log_forensic_module libexec/apache2/mod_log_forensic.so
  117. #LoadModule logio_module libexec/apache2/mod_logio.so
  118. LoadModule env_module libexec/apache2/mod_env.so
  119. #LoadModule mime_magic_module libexec/apache2/mod_mime_magic.so
  120. #LoadModule expires_module libexec/apache2/mod_expires.so
  121. LoadModule headers_module libexec/apache2/mod_headers.so
  122. #LoadModule usertrack_module libexec/apache2/mod_usertrack.so
  123. ##LoadModule unique_id_module libexec/apache2/mod_unique_id.so
  124. LoadModule setenvif_module libexec/apache2/mod_setenvif.so
  125. LoadModule version_module libexec/apache2/mod_version.so
  126. #LoadModule remoteip_module libexec/apache2/mod_remoteip.so
  127. LoadModule proxy_module libexec/apache2/mod_proxy.so
  128. #LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so
  129. #LoadModule proxy_ftp_module libexec/apache2/mod_proxy_ftp.so
  130. LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so
  131. #LoadModule proxy_fcgi_module libexec/apache2/mod_proxy_fcgi.so
  132. #LoadModule proxy_scgi_module libexec/apache2/mod_proxy_scgi.so
  133. #LoadModule proxy_wstunnel_module libexec/apache2/mod_proxy_wstunnel.so
  134. #LoadModule proxy_ajp_module libexec/apache2/mod_proxy_ajp.so
  135. #LoadModule proxy_balancer_module libexec/apache2/mod_proxy_balancer.so
  136. #LoadModule proxy_express_module libexec/apache2/mod_proxy_express.so
  137. #LoadModule proxy_hcheck_module libexec/apache2/mod_proxy_hcheck.so
  138. #LoadModule session_module libexec/apache2/mod_session.so
  139. #LoadModule session_cookie_module libexec/apache2/mod_session_cookie.so
  140. #LoadModule session_dbd_module libexec/apache2/mod_session_dbd.so
  141. LoadModule slotmem_shm_module libexec/apache2/mod_slotmem_shm.so
  142. #LoadModule slotmem_plain_module libexec/apache2/mod_slotmem_plain.so
  143. #LoadModule ssl_module libexec/apache2/mod_ssl.so
  144. #LoadModule dialup_module libexec/apache2/mod_dialup.so
  145. #LoadModule lbmethod_byrequests_module libexec/apache2/mod_lbmethod_byrequests.so
  146. #LoadModule lbmethod_bytraffic_module libexec/apache2/mod_lbmethod_bytraffic.so
  147. #LoadModule lbmethod_bybusyness_module libexec/apache2/mod_lbmethod_bybusyness.so
  148. ##LoadModule lbmethod_heartbeat_module libexec/apache2/mod_lbmethod_heartbeat.so
  149. LoadModule unixd_module libexec/apache2/mod_unixd.so
  150. #LoadModule heartbeat_module libexec/apache2/mod_heartbeat.so
  151. #LoadModule heartmonitor_module libexec/apache2/mod_heartmonitor.so
  152. #LoadModule dav_module libexec/apache2/mod_dav.so
  153. LoadModule status_module libexec/apache2/mod_status.so
  154. LoadModule autoindex_module libexec/apache2/mod_autoindex.so
  155. #LoadModule asis_module libexec/apache2/mod_asis.so
  156. #LoadModule info_module libexec/apache2/mod_info.so
  157. #LoadModule cgi_module libexec/apache2/mod_cgi.so
  158. #LoadModule dav_fs_module libexec/apache2/mod_dav_fs.so
  159. #LoadModule dav_lock_module libexec/apache2/mod_dav_lock.so
  160. LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
  161. LoadModule negotiation_module libexec/apache2/mod_negotiation.so
  162. LoadModule dir_module libexec/apache2/mod_dir.so
  163. #LoadModule imagemap_module libexec/apache2/mod_imagemap.so
  164. #LoadModule actions_module libexec/apache2/mod_actions.so
  165. #LoadModule speling_module libexec/apache2/mod_speling.so
  166. LoadModule userdir_module libexec/apache2/mod_userdir.so
  167. LoadModule alias_module libexec/apache2/mod_alias.so
  168. #LoadModule rewrite_module libexec/apache2/mod_rewrite.so
  169. LoadModule php5_module libexec/apache2/libphp5.so
  170. #LoadModule perl_module libexec/apache2/mod_perl.so
  171. LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
  172.  
  173. <IfModule unixd_module>
  174. #
  175. # If you wish httpd to run as a different user or group, you must run
  176. # httpd as root initially and it will switch.
  177. #
  178. # User/Group: The name (or #number) of the user/group to run httpd as.
  179. # It is usually good practice to create a dedicated user and group for
  180. # running httpd, as with most system services.
  181. #
  182. User chengtie
  183. Group _www
  184.  
  185. </IfModule>
  186.  
  187. # 'Main' server configuration
  188. #
  189. # The directives in this section set up the values used by the 'main'
  190. # server, which responds to any requests that aren't handled by a
  191. # <VirtualHost> definition. These values also provide defaults for
  192. # any <VirtualHost> containers you may define later in the file.
  193. #
  194. # All of these directives may appear inside <VirtualHost> containers,
  195. # in which case these default settings will be overridden for the
  196. # virtual host being defined.
  197. #
  198.  
  199. #
  200. # ServerAdmin: Your address, where problems with the server should be
  201. # e-mailed. This address appears on some server-generated pages, such
  202. # as error documents. e.g. [email protected]
  203. #
  204. ServerAdmin [email protected]
  205.  
  206. #
  207. # ServerName gives the name and port that the server uses to identify itself.
  208. # This can often be determined automatically, but we recommend you specify
  209. # it explicitly to prevent problems during startup.
  210. #
  211. # If your host doesn't have a registered DNS name, enter its IP address here.
  212. #
  213. #ServerName www.example.com:80
  214. ServerName localhost
  215.  
  216. #
  217. # Deny access to the entirety of your server's filesystem. You must
  218. # explicitly permit access to web content directories in other
  219. # <Directory> blocks below.
  220. #
  221. <Directory />
  222. AllowOverride All
  223. Require all denied
  224. </Directory>
  225.  
  226. #
  227. # Note that from this point forward you must specifically allow
  228. # particular features to be enabled - so if something's not working as
  229. # you might expect, make sure that you have specifically enabled it
  230. # below.
  231. #
  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 "/Library/WebServer/Documents"
  239. DocumentRoot "/Users/chengtie"
  240. # <Directory "/Library/WebServer/Documents">
  241. <Directory "Users/chengtie">
  242. #
  243. # Possible values for the Options directive are "None", "All",
  244. # or any combination of:
  245. # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  246. #
  247. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  248. # doesn't give it to you.
  249. #
  250. # The Options directive is both complicated and important. Please see
  251. # http://httpd.apache.org/docs/2.4/mod/core.html#options
  252. # for more information.
  253. #
  254. Options FollowSymLinks Multiviews
  255. MultiviewsMatch Any
  256.  
  257. #
  258. # AllowOverride controls what directives may be placed in .htaccess files.
  259. # It can be "All", "None", or any combination of the keywords:
  260. # AllowOverride FileInfo AuthConfig Limit
  261. #
  262. AllowOverride All
  263.  
  264. #
  265. # Controls who can get stuff from this server.
  266. #
  267. Require all granted
  268. </Directory>
  269.  
  270. #
  271. # DirectoryIndex: sets the file that Apache will serve if a directory
  272. # is requested.
  273. #
  274. <IfModule dir_module>
  275. DirectoryIndex index.html
  276. </IfModule>
  277.  
  278. #
  279. # The following lines prevent .htaccess and .htpasswd files from being
  280. # viewed by Web clients.
  281. #
  282. <FilesMatch "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
  283. Require all denied
  284. </FilesMatch>
  285.  
  286. #
  287. # Apple specific filesystem protection.
  288. #
  289. <Files "rsrc">
  290. Require all denied
  291. </Files>
  292. <DirectoryMatch ".*\.\.namedfork">
  293. Require all denied
  294. </DirectoryMatch>
  295.  
  296. #
  297. # ErrorLog: The location of the error log file.
  298. # If you do not specify an ErrorLog directive within a <VirtualHost>
  299. # container, error messages relating to that virtual host will be
  300. # logged here. If you *do* define an error logfile for a <VirtualHost>
  301. # container, that host's errors will be logged there and not here.
  302. #
  303. ErrorLog "/private/var/log/apache2/error_log"
  304.  
  305. #
  306. # LogLevel: Control the number of messages logged to the error_log.
  307. # Possible values include: debug, info, notice, warn, error, crit,
  308. # alert, emerg.
  309. #
  310. LogLevel warn
  311.  
  312. <IfModule log_config_module>
  313. #
  314. # The following directives define some format nicknames for use with
  315. # a CustomLog directive (see below).
  316. #
  317. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  318. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  319.  
  320. <IfModule logio_module>
  321. # You need to enable mod_logio.c to use %I and %O
  322. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  323. </IfModule>
  324.  
  325. #
  326. # The location and format of the access logfile (Common Logfile Format).
  327. # If you do not define any access logfiles within a <VirtualHost>
  328. # container, they will be logged here. Contrariwise, if you *do*
  329. # define per-<VirtualHost> access logfiles, transactions will be
  330. # logged therein and *not* in this file.
  331. #
  332. CustomLog "/private/var/log/apache2/access_log" common
  333.  
  334. #
  335. # If you prefer a logfile with access, agent, and referer information
  336. # (Combined Logfile Format) you can use the following directive.
  337. #
  338. #CustomLog "/private/var/log/apache2/access_log" combined
  339. </IfModule>
  340.  
  341. <IfModule alias_module>
  342. #
  343. # Redirect: Allows you to tell clients about documents that used to
  344. # exist in your server's namespace, but do not anymore. The client
  345. # will make a new request for the document at its new location.
  346. # Example:
  347. # Redirect permanent /foo http://www.example.com/bar
  348.  
  349. #
  350. # Alias: Maps web paths into filesystem paths and is used to
  351. # access content that does not live under the DocumentRoot.
  352. # Example:
  353. # Alias /webpath /full/filesystem/path
  354. #
  355. # If you include a trailing / on /webpath then the server will
  356. # require it to be present in the URL. You will also likely
  357. # need to provide a <Directory> section to allow access to
  358. # the filesystem path.
  359.  
  360. #
  361. # ScriptAlias: This controls which directories contain server scripts.
  362. # ScriptAliases are essentially the same as Aliases, except that
  363. # documents in the target directory are treated as applications and
  364. # run by the server when requested rather than as documents sent to the
  365. # client. The same rules about trailing "/" apply to ScriptAlias
  366. # directives as to Alias.
  367. #
  368. ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
  369.  
  370. </IfModule>
  371.  
  372. <IfModule cgid_module>
  373. #
  374. # ScriptSock: On threaded servers, designate the path to the UNIX
  375. # socket used to communicate with the CGI daemon of mod_cgid.
  376. #
  377. #Scriptsock cgisock
  378. </IfModule>
  379.  
  380. #
  381. # "/Library/WebServer/CGI-Executables" should be changed to whatever your ScriptAliased
  382. # CGI directory exists, if you have that configured.
  383. #
  384. <Directory "/Library/WebServer/CGI-Executables">
  385. AllowOverride None
  386. Options None
  387. Require all granted
  388. </Directory>
  389.  
  390. <IfModule headers_module>
  391. #
  392. # Avoid passing HTTP_PROXY environment to CGI's on this or any proxied
  393. # backend servers which have lingering "httpoxy" defects.
  394. # 'Proxy' request header is undefined by the IETF, not listed by IANA
  395. #
  396. RequestHeader unset Proxy early
  397. </IfModule>
  398.  
  399. <IfModule mime_module>
  400. #
  401. # TypesConfig points to the file containing the list of mappings from
  402. # filename extension to MIME-type.
  403. #
  404. TypesConfig /private/etc/apache2/mime.types
  405.  
  406. #
  407. # AddType allows you to add to or override the MIME configuration
  408. # file specified in TypesConfig for specific file types.
  409. #
  410. #AddType application/x-gzip .tgz
  411. #
  412. # AddEncoding allows you to have certain browsers uncompress
  413. # information on the fly. Note: Not all browsers support this.
  414. #
  415. #AddEncoding x-compress .Z
  416. #AddEncoding x-gzip .gz .tgz
  417. #
  418. # If the AddEncoding directives above are commented-out, then you
  419. # probably should define those extensions to indicate media types:
  420. #
  421. AddType application/x-compress .Z
  422. AddType application/x-gzip .gz .tgz
  423.  
  424. #
  425. # AddHandler allows you to map certain file extensions to "handlers":
  426. # actions unrelated to filetype. These can be either built into the server
  427. # or added with the Action directive (see below)
  428. #
  429. # To use CGI scripts outside of ScriptAliased directories:
  430. # (You will also need to add "ExecCGI" to the "Options" directive.)
  431. #
  432. #AddHandler cgi-script .cgi
  433.  
  434. # For type maps (negotiated resources):
  435. #AddHandler type-map var
  436.  
  437. #
  438. # Filters allow you to process content before it is sent to the client.
  439. #
  440. # To parse .shtml files for server-side includes (SSI):
  441. # (You will also need to add "Includes" to the "Options" directive.)
  442. #
  443. #AddType text/html .shtml
  444. #AddOutputFilter INCLUDES .shtml
  445. </IfModule>
  446.  
  447. #
  448. # The mod_mime_magic module allows the server to use various hints from the
  449. # contents of the file itself to determine its type. The MIMEMagicFile
  450. # directive tells the module where the hint definitions are located.
  451. #
  452. #MIMEMagicFile /private/etc/apache2/magic
  453.  
  454. #
  455. # Customizable error responses come in three flavors:
  456. # 1) plain text 2) local redirects 3) external redirects
  457. #
  458. # Some examples:
  459. #ErrorDocument 500 "The server made a boo boo."
  460. #ErrorDocument 404 /missing.html
  461. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  462. #ErrorDocument 402 http://www.example.com/subscription_info.html
  463. #
  464.  
  465. #
  466. # MaxRanges: Maximum number of Ranges in a request before
  467. # returning the entire resource, or one of the special
  468. # values 'default', 'none' or 'unlimited'.
  469. # Default setting is to accept 200 Ranges.
  470. #MaxRanges unlimited
  471.  
  472. #
  473. # EnableMMAP and EnableSendfile: On systems that support it,
  474. # memory-mapping or the sendfile syscall may be used to deliver
  475. # files. This usually improves server performance, but must
  476. # be turned off when serving from networked-mounted
  477. # filesystems or if support for these functions is otherwise
  478. # broken on your system.
  479. # Defaults: EnableMMAP On, EnableSendfile Off
  480. #
  481. #EnableMMAP off
  482. #EnableSendfile on
  483.  
  484. TraceEnable off
  485.  
  486. # Supplemental configuration
  487. #
  488. # The configuration files in the /private/etc/apache2/extra/ directory can be
  489. # included to add extra features or to modify the default configuration of
  490. # the server, or you may simply copy their contents here and change as
  491. # necessary.
  492.  
  493. # Server-pool management (MPM specific)
  494. Include /private/etc/apache2/extra/httpd-mpm.conf
  495.  
  496. # Multi-language error messages
  497. #Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
  498.  
  499. # Fancy directory listings
  500. Include /private/etc/apache2/extra/httpd-autoindex.conf
  501.  
  502. # Language settings
  503. #Include /private/etc/apache2/extra/httpd-languages.conf
  504.  
  505. # User home directories
  506. Include /private/etc/apache2/extra/httpd-userdir.conf
  507.  
  508. # Real-time info on requests and configuration
  509. #Include /private/etc/apache2/extra/httpd-info.conf
  510.  
  511. # Virtual hosts
  512. Include /private/etc/apache2/extra/httpd-vhosts.conf
  513.  
  514. # Local access to the Apache HTTP Server Manual
  515. #Include /private/etc/apache2/extra/httpd-manual.conf
  516.  
  517. # Distributed authoring and versioning (WebDAV)
  518. #Include /private/etc/apache2/extra/httpd-dav.conf
  519.  
  520. # Various default settings
  521. #Include /private/etc/apache2/extra/httpd-default.conf
  522.  
  523. # Configure mod_proxy_html to understand HTML4/XHTML1
  524. <IfModule proxy_html_module>
  525. Include /private/etc/apache2/extra/proxy-html.conf
  526. </IfModule>
  527.  
  528. # Secure (SSL/TLS) connections
  529. #Include /private/etc/apache2/extra/httpd-ssl.conf
  530. #
  531. # Note: The following must must be present to support
  532. # starting without SSL on platforms with no /dev/random equivalent
  533. # but a statically compiled-in mod_ssl.
  534. #
  535. <IfModule ssl_module>
  536. SSLRandomSeed startup builtin
  537. SSLRandomSeed connect builtin
  538. </IfModule>
  539.  
  540. Include /private/etc/apache2/other/*.conf
  541. RAW Paste Data
  542.  
  543. #
  544. # This is the main Apache HTTP server configuration file. It contains the
  545. # configuration directives that give the server its instructions.
  546. # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
  547. # In particular, see
  548. # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
  549. # for a discussion of each configuration directive.
  550. #
  551. # Do NOT simply read the instructions in here without understanding
  552. # what they do. They're here only as hints or reminders. If you are unsure
  553. # consult the online docs. You have been warned.
  554. #
  555. # Configuration and logfile names: If the filenames you specify for many
  556. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  557. # server will use that explicit path. If the filenames do *not* begin
  558. # with "/", the value of ServerRoot is prepended -- so "logs/access_log"
  559. # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
  560. # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
  561. # will be interpreted as '/logs/access_log'.
  562.  
  563. #
  564. # ServerRoot: The top of the directory tree under which the server's
  565. # configuration, error, and log files are kept.
  566. #
  567. # Do not add a slash at the end of the directory path. If you point
  568. # ServerRoot at a non-local disk, be sure to specify a local disk on the
  569. # Mutex directive, if file-based mutexes are used. If you wish to share the
  570. # same ServerRoot for multiple httpd daemons, you will need to change at
  571. # least PidFile.
  572. #
  573. ServerRoot "/usr"
  574.  
  575. #
  576. # Mutex: Allows you to set the mutex mechanism and mutex file directory
  577. # for individual mutexes, or change the global defaults
  578. #
  579. # Uncomment and change the directory if mutexes are file-based and the default
  580. # mutex file directory is not on a local disk or is not appropriate for some
  581. # other reason.
  582. #
  583. # Mutex default:/private/var/run
  584.  
  585. #
  586. # Listen: Allows you to bind Apache to specific IP addresses and/or
  587. # ports, instead of the default. See also the <VirtualHost>
  588. # directive.
  589. #
  590. # Change this to Listen on specific IP addresses as shown below to
  591. # prevent Apache from glomming onto all bound IP addresses.
  592. #
  593. #Listen 12.34.56.78:80
  594. Listen 80
  595.  
  596. #
  597. # Dynamic Shared Object (DSO) Support
  598. #
  599. # To be able to use the functionality of a module which was built as a DSO you
  600. # have to place corresponding `LoadModule' lines at this location so the
  601. # directives contained in it are actually available _before_ they are used.
  602. # Statically compiled modules (those listed by `httpd -l') do not need
  603. # to be loaded here.
  604. #
  605. # Example:
  606. # LoadModule foo_module modules/mod_foo.so
  607. #
  608. LoadModule authn_file_module libexec/apache2/mod_authn_file.so
  609. #LoadModule authn_dbm_module libexec/apache2/mod_authn_dbm.so
  610. #LoadModule authn_anon_module libexec/apache2/mod_authn_anon.so
  611. #LoadModule authn_dbd_module libexec/apache2/mod_authn_dbd.so
  612. #LoadModule authn_socache_module libexec/apache2/mod_authn_socache.so
  613. LoadModule authn_core_module libexec/apache2/mod_authn_core.so
  614. LoadModule authz_host_module libexec/apache2/mod_authz_host.so
  615. LoadModule authz_groupfile_module libexec/apache2/mod_authz_groupfile.so
  616. LoadModule authz_user_module libexec/apache2/mod_authz_user.so
  617. #LoadModule authz_dbm_module libexec/apache2/mod_authz_dbm.so
  618. #LoadModule authz_owner_module libexec/apache2/mod_authz_owner.so
  619. #LoadModule authz_dbd_module libexec/apache2/mod_authz_dbd.so
  620. LoadModule authz_core_module libexec/apache2/mod_authz_core.so
  621. #LoadModule authnz_ldap_module libexec/apache2/mod_authnz_ldap.so
  622. LoadModule access_compat_module libexec/apache2/mod_access_compat.so
  623. LoadModule auth_basic_module libexec/apache2/mod_auth_basic.so
  624. #LoadModule auth_form_module libexec/apache2/mod_auth_form.so
  625. #LoadModule auth_digest_module libexec/apache2/mod_auth_digest.so
  626. #LoadModule allowmethods_module libexec/apache2/mod_allowmethods.so
  627. #LoadModule file_cache_module libexec/apache2/mod_file_cache.so
  628. #LoadModule cache_module libexec/apache2/mod_cache.so
  629. #LoadModule cache_disk_module libexec/apache2/mod_cache_disk.so
  630. #LoadModule cache_socache_module libexec/apache2/mod_cache_socache.so
  631. #LoadModule socache_shmcb_module libexec/apache2/mod_socache_shmcb.so
  632. #LoadModule socache_dbm_module libexec/apache2/mod_socache_dbm.so
  633. #LoadModule socache_memcache_module libexec/apache2/mod_socache_memcache.so
  634. #LoadModule watchdog_module libexec/apache2/mod_watchdog.so
  635. #LoadModule macro_module libexec/apache2/mod_macro.so
  636. #LoadModule dbd_module libexec/apache2/mod_dbd.so
  637. #LoadModule dumpio_module libexec/apache2/mod_dumpio.so
  638. #LoadModule echo_module libexec/apache2/mod_echo.so
  639. #LoadModule buffer_module libexec/apache2/mod_buffer.so
  640. #LoadModule data_module libexec/apache2/mod_data.so
  641. #LoadModule ratelimit_module libexec/apache2/mod_ratelimit.so
  642. LoadModule reqtimeout_module libexec/apache2/mod_reqtimeout.so
  643. #LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so
  644. #LoadModule request_module libexec/apache2/mod_request.so
  645. #LoadModule include_module libexec/apache2/mod_include.so
  646. LoadModule filter_module libexec/apache2/mod_filter.so
  647. #LoadModule reflector_module libexec/apache2/mod_reflector.so
  648. #LoadModule substitute_module libexec/apache2/mod_substitute.so
  649. #LoadModule sed_module libexec/apache2/mod_sed.so
  650. #LoadModule charset_lite_module libexec/apache2/mod_charset_lite.so
  651. #LoadModule deflate_module libexec/apache2/mod_deflate.so
  652. #LoadModule xml2enc_module libexec/apache2/mod_xml2enc.so
  653. #LoadModule proxy_html_module libexec/apache2/mod_proxy_html.so
  654. LoadModule mime_module libexec/apache2/mod_mime.so
  655. #LoadModule ldap_module libexec/apache2/mod_ldap.so
  656. LoadModule log_config_module libexec/apache2/mod_log_config.so
  657. #LoadModule log_debug_module libexec/apache2/mod_log_debug.so
  658. #LoadModule log_forensic_module libexec/apache2/mod_log_forensic.so
  659. #LoadModule logio_module libexec/apache2/mod_logio.so
  660. LoadModule env_module libexec/apache2/mod_env.so
  661. #LoadModule mime_magic_module libexec/apache2/mod_mime_magic.so
  662. #LoadModule expires_module libexec/apache2/mod_expires.so
  663. LoadModule headers_module libexec/apache2/mod_headers.so
  664. #LoadModule usertrack_module libexec/apache2/mod_usertrack.so
  665. ##LoadModule unique_id_module libexec/apache2/mod_unique_id.so
  666. LoadModule setenvif_module libexec/apache2/mod_setenvif.so
  667. LoadModule version_module libexec/apache2/mod_version.so
  668. #LoadModule remoteip_module libexec/apache2/mod_remoteip.so
  669. LoadModule proxy_module libexec/apache2/mod_proxy.so
  670. #LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so
  671. #LoadModule proxy_ftp_module libexec/apache2/mod_proxy_ftp.so
  672. LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so
  673. #LoadModule proxy_fcgi_module libexec/apache2/mod_proxy_fcgi.so
  674. #LoadModule proxy_scgi_module libexec/apache2/mod_proxy_scgi.so
  675. #LoadModule proxy_wstunnel_module libexec/apache2/mod_proxy_wstunnel.so
  676. #LoadModule proxy_ajp_module libexec/apache2/mod_proxy_ajp.so
  677. #LoadModule proxy_balancer_module libexec/apache2/mod_proxy_balancer.so
  678. #LoadModule proxy_express_module libexec/apache2/mod_proxy_express.so
  679. #LoadModule proxy_hcheck_module libexec/apache2/mod_proxy_hcheck.so
  680. #LoadModule session_module libexec/apache2/mod_session.so
  681. #LoadModule session_cookie_module libexec/apache2/mod_session_cookie.so
  682. #LoadModule session_dbd_module libexec/apache2/mod_session_dbd.so
  683. LoadModule slotmem_shm_module libexec/apache2/mod_slotmem_shm.so
  684. #LoadModule slotmem_plain_module libexec/apache2/mod_slotmem_plain.so
  685. #LoadModule ssl_module libexec/apache2/mod_ssl.so
  686. #LoadModule dialup_module libexec/apache2/mod_dialup.so
  687. #LoadModule lbmethod_byrequests_module libexec/apache2/mod_lbmethod_byrequests.so
  688. #LoadModule lbmethod_bytraffic_module libexec/apache2/mod_lbmethod_bytraffic.so
  689. #LoadModule lbmethod_bybusyness_module libexec/apache2/mod_lbmethod_bybusyness.so
  690. ##LoadModule lbmethod_heartbeat_module libexec/apache2/mod_lbmethod_heartbeat.so
  691. LoadModule unixd_module libexec/apache2/mod_unixd.so
  692. #LoadModule heartbeat_module libexec/apache2/mod_heartbeat.so
  693. #LoadModule heartmonitor_module libexec/apache2/mod_heartmonitor.so
  694. #LoadModule dav_module libexec/apache2/mod_dav.so
  695. LoadModule status_module libexec/apache2/mod_status.so
  696. LoadModule autoindex_module libexec/apache2/mod_autoindex.so
  697. #LoadModule asis_module libexec/apache2/mod_asis.so
  698. #LoadModule info_module libexec/apache2/mod_info.so
  699. #LoadModule cgi_module libexec/apache2/mod_cgi.so
  700. #LoadModule dav_fs_module libexec/apache2/mod_dav_fs.so
  701. #LoadModule dav_lock_module libexec/apache2/mod_dav_lock.so
  702. LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
  703. LoadModule negotiation_module libexec/apache2/mod_negotiation.so
  704. LoadModule dir_module libexec/apache2/mod_dir.so
  705. #LoadModule imagemap_module libexec/apache2/mod_imagemap.so
  706. #LoadModule actions_module libexec/apache2/mod_actions.so
  707. #LoadModule speling_module libexec/apache2/mod_speling.so
  708. LoadModule userdir_module libexec/apache2/mod_userdir.so
  709. LoadModule alias_module libexec/apache2/mod_alias.so
  710. #LoadModule rewrite_module libexec/apache2/mod_rewrite.so
  711. LoadModule php5_module libexec/apache2/libphp5.so
  712. #LoadModule perl_module libexec/apache2/mod_perl.so
  713. LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
  714.  
  715. <IfModule unixd_module>
  716. #
  717. # If you wish httpd to run as a different user or group, you must run
  718. # httpd as root initially and it will switch.
  719. #
  720. # User/Group: The name (or #number) of the user/group to run httpd as.
  721. # It is usually good practice to create a dedicated user and group for
  722. # running httpd, as with most system services.
  723. #
  724. User chengtie
  725. Group _www
  726.  
  727. </IfModule>
  728.  
  729. # 'Main' server configuration
  730. #
  731. # The directives in this section set up the values used by the 'main'
  732. # server, which responds to any requests that aren't handled by a
  733. # <VirtualHost> definition. These values also provide defaults for
  734. # any <VirtualHost> containers you may define later in the file.
  735. #
  736. # All of these directives may appear inside <VirtualHost> containers,
  737. # in which case these default settings will be overridden for the
  738. # virtual host being defined.
  739. #
  740.  
  741. #
  742. # ServerAdmin: Your address, where problems with the server should be
  743. # e-mailed. This address appears on some server-generated pages, such
  744. # as error documents. e.g. [email protected]
  745. #
  746. ServerAdmin [email protected]
  747.  
  748. #
  749. # ServerName gives the name and port that the server uses to identify itself.
  750. # This can often be determined automatically, but we recommend you specify
  751. # it explicitly to prevent problems during startup.
  752. #
  753. # If your host doesn't have a registered DNS name, enter its IP address here.
  754. #
  755. #ServerName www.example.com:80
  756.  
  757. #
  758. # Deny access to the entirety of your server's filesystem. You must
  759. # explicitly permit access to web content directories in other
  760. # <Directory> blocks below.
  761. #
  762. <Directory />
  763. AllowOverride All
  764. Require all denied
  765. </Directory>
  766.  
  767. #
  768. # Note that from this point forward you must specifically allow
  769. # particular features to be enabled - so if something's not working as
  770. # you might expect, make sure that you have specifically enabled it
  771. # below.
  772. #
  773.  
  774. #
  775. # DocumentRoot: The directory out of which you will serve your
  776. # documents. By default, all requests are taken from this directory, but
  777. # symbolic links and aliases may be used to point to other locations.
  778. #
  779. # DocumentRoot "/Library/WebServer/Documents"
  780. DocumentRoot "/Users/chengtie"
  781. # <Directory "/Library/WebServer/Documents">
  782. <Directory "Users/chengtie">
  783. #
  784. # Possible values for the Options directive are "None", "All",
  785. # or any combination of:
  786. # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  787. #
  788. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  789. # doesn't give it to you.
  790. #
  791. # The Options directive is both complicated and important. Please see
  792. # http://httpd.apache.org/docs/2.4/mod/core.html#options
  793. # for more information.
  794. #
  795. Options FollowSymLinks Multiviews
  796. MultiviewsMatch Any
  797.  
  798. #
  799. # AllowOverride controls what directives may be placed in .htaccess files.
  800. # It can be "All", "None", or any combination of the keywords:
  801. # AllowOverride FileInfo AuthConfig Limit
  802. #
  803. AllowOverride All
  804.  
  805. #
  806. # Controls who can get stuff from this server.
  807. #
  808. Require all granted
  809. </Directory>
  810.  
  811. #
  812. # DirectoryIndex: sets the file that Apache will serve if a directory
  813. # is requested.
  814. #
  815. <IfModule dir_module>
  816. DirectoryIndex index.html
  817. </IfModule>
  818.  
  819. #
  820. # The following lines prevent .htaccess and .htpasswd files from being
  821. # viewed by Web clients.
  822. #
  823. <FilesMatch "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
  824. Require all denied
  825. </FilesMatch>
  826.  
  827. #
  828. # Apple specific filesystem protection.
  829. #
  830. <Files "rsrc">
  831. Require all denied
  832. </Files>
  833. <DirectoryMatch ".*\.\.namedfork">
  834. Require all denied
  835. </DirectoryMatch>
  836.  
  837. #
  838. # ErrorLog: The location of the error log file.
  839. # If you do not specify an ErrorLog directive within a <VirtualHost>
  840. # container, error messages relating to that virtual host will be
  841. # logged here. If you *do* define an error logfile for a <VirtualHost>
  842. # container, that host's errors will be logged there and not here.
  843. #
  844. ErrorLog "/private/var/log/apache2/error_log"
  845.  
  846. #
  847. # LogLevel: Control the number of messages logged to the error_log.
  848. # Possible values include: debug, info, notice, warn, error, crit,
  849. # alert, emerg.
  850. #
  851. LogLevel warn
  852.  
  853. <IfModule log_config_module>
  854. #
  855. # The following directives define some format nicknames for use with
  856. # a CustomLog directive (see below).
  857. #
  858. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  859. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  860.  
  861. <IfModule logio_module>
  862. # You need to enable mod_logio.c to use %I and %O
  863. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  864. </IfModule>
  865.  
  866. #
  867. # The location and format of the access logfile (Common Logfile Format).
  868. # If you do not define any access logfiles within a <VirtualHost>
  869. # container, they will be logged here. Contrariwise, if you *do*
  870. # define per-<VirtualHost> access logfiles, transactions will be
  871. # logged therein and *not* in this file.
  872. #
  873. CustomLog "/private/var/log/apache2/access_log" common
  874.  
  875. #
  876. # If you prefer a logfile with access, agent, and referer information
  877. # (Combined Logfile Format) you can use the following directive.
  878. #
  879. #CustomLog "/private/var/log/apache2/access_log" combined
  880. </IfModule>
  881.  
  882. <IfModule alias_module>
  883. #
  884. # Redirect: Allows you to tell clients about documents that used to
  885. # exist in your server's namespace, but do not anymore. The client
  886. # will make a new request for the document at its new location.
  887. # Example:
  888. # Redirect permanent /foo http://www.example.com/bar
  889.  
  890. #
  891. # Alias: Maps web paths into filesystem paths and is used to
  892. # access content that does not live under the DocumentRoot.
  893. # Example:
  894. # Alias /webpath /full/filesystem/path
  895. #
  896. # If you include a trailing / on /webpath then the server will
  897. # require it to be present in the URL. You will also likely
  898. # need to provide a <Directory> section to allow access to
  899. # the filesystem path.
  900.  
  901. #
  902. # ScriptAlias: This controls which directories contain server scripts.
  903. # ScriptAliases are essentially the same as Aliases, except that
  904. # documents in the target directory are treated as applications and
  905. # run by the server when requested rather than as documents sent to the
  906. # client. The same rules about trailing "/" apply to ScriptAlias
  907. # directives as to Alias.
  908. #
  909. ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
  910.  
  911. </IfModule>
  912.  
  913. <IfModule cgid_module>
  914. #
  915. # ScriptSock: On threaded servers, designate the path to the UNIX
  916. # socket used to communicate with the CGI daemon of mod_cgid.
  917. #
  918. #Scriptsock cgisock
  919. </IfModule>
  920.  
  921. #
  922. # "/Library/WebServer/CGI-Executables" should be changed to whatever your ScriptAliased
  923. # CGI directory exists, if you have that configured.
  924. #
  925. <Directory "/Library/WebServer/CGI-Executables">
  926. AllowOverride None
  927. Options None
  928. Require all granted
  929. </Directory>
  930.  
  931. <IfModule headers_module>
  932. #
  933. # Avoid passing HTTP_PROXY environment to CGI's on this or any proxied
  934. # backend servers which have lingering "httpoxy" defects.
  935. # 'Proxy' request header is undefined by the IETF, not listed by IANA
  936. #
  937. RequestHeader unset Proxy early
  938. </IfModule>
  939.  
  940. <IfModule mime_module>
  941. #
  942. # TypesConfig points to the file containing the list of mappings from
  943. # filename extension to MIME-type.
  944. #
  945. TypesConfig /private/etc/apache2/mime.types
  946.  
  947. #
  948. # AddType allows you to add to or override the MIME configuration
  949. # file specified in TypesConfig for specific file types.
  950. #
  951. #AddType application/x-gzip .tgz
  952. #
  953. # AddEncoding allows you to have certain browsers uncompress
  954. # information on the fly. Note: Not all browsers support this.
  955. #
  956. #AddEncoding x-compress .Z
  957. #AddEncoding x-gzip .gz .tgz
  958. #
  959. # If the AddEncoding directives above are commented-out, then you
  960. # probably should define those extensions to indicate media types:
  961. #
  962. AddType application/x-compress .Z
  963. AddType application/x-gzip .gz .tgz
  964.  
  965. #
  966. # AddHandler allows you to map certain file extensions to "handlers":
  967. # actions unrelated to filetype. These can be either built into the server
  968. # or added with the Action directive (see below)
  969. #
  970. # To use CGI scripts outside of ScriptAliased directories:
  971. # (You will also need to add "ExecCGI" to the "Options" directive.)
  972. #
  973. #AddHandler cgi-script .cgi
  974.  
  975. # For type maps (negotiated resources):
  976. #AddHandler type-map var
  977.  
  978. #
  979. # Filters allow you to process content before it is sent to the client.
  980. #
  981. # To parse .shtml files for server-side includes (SSI):
  982. # (You will also need to add "Includes" to the "Options" directive.)
  983. #
  984. #AddType text/html .shtml
  985. #AddOutputFilter INCLUDES .shtml
  986. </IfModule>
  987.  
  988. #
  989. # The mod_mime_magic module allows the server to use various hints from the
  990. # contents of the file itself to determine its type. The MIMEMagicFile
  991. # directive tells the module where the hint definitions are located.
  992. #
  993. #MIMEMagicFile /private/etc/apache2/magic
  994.  
  995. #
  996. # Customizable error responses come in three flavors:
  997. # 1) plain text 2) local redirects 3) external redirects
  998. #
  999. # Some examples:
  1000. #ErrorDocument 500 "The server made a boo boo."
  1001. #ErrorDocument 404 /missing.html
  1002. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  1003. #ErrorDocument 402 http://www.example.com/subscription_info.html
  1004. #
  1005.  
  1006. #
  1007. # MaxRanges: Maximum number of Ranges in a request before
  1008. # returning the entire resource, or one of the special
  1009. # values 'default', 'none' or 'unlimited'.
  1010. # Default setting is to accept 200 Ranges.
  1011. #MaxRanges unlimited
  1012.  
  1013. #
  1014. # EnableMMAP and EnableSendfile: On systems that support it,
  1015. # memory-mapping or the sendfile syscall may be used to deliver
  1016. # files. This usually improves server performance, but must
  1017. # be turned off when serving from networked-mounted
  1018. # filesystems or if support for these functions is otherwise
  1019. # broken on your system.
  1020. # Defaults: EnableMMAP On, EnableSendfile Off
  1021. #
  1022. #EnableMMAP off
  1023. #EnableSendfile on
  1024.  
  1025. TraceEnable off
  1026.  
  1027. # Supplemental configuration
  1028. #
  1029. # The configuration files in the /private/etc/apache2/extra/ directory can be
  1030. # included to add extra features or to modify the default configuration of
  1031. # the server, or you may simply copy their contents here and change as
  1032. # necessary.
  1033.  
  1034. # Server-pool management (MPM specific)
  1035. Include /private/etc/apache2/extra/httpd-mpm.conf
  1036.  
  1037. # Multi-language error messages
  1038. #Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
  1039.  
  1040. # Fancy directory listings
  1041. Include /private/etc/apache2/extra/httpd-autoindex.conf
  1042.  
  1043. # Language settings
  1044. #Include /private/etc/apache2/extra/httpd-languages.conf
  1045.  
  1046. # User home directories
  1047. Include /private/etc/apache2/extra/httpd-userdir.conf
  1048.  
  1049. # Real-time info on requests and configuration
  1050. #Include /private/etc/apache2/extra/httpd-info.conf
  1051.  
  1052. # Virtual hosts
  1053. Include /private/etc/apache2/extra/httpd-vhosts.conf
  1054.  
  1055. # Local access to the Apache HTTP Server Manual
  1056. #Include /private/etc/apache2/extra/httpd-manual.conf
  1057.  
  1058. # Distributed authoring and versioning (WebDAV)
  1059. #Include /private/etc/apache2/extra/httpd-dav.conf
  1060.  
  1061. # Various default settings
  1062. #Include /private/etc/apache2/extra/httpd-default.conf
  1063.  
  1064. # Configure mod_proxy_html to understand HTML4/XHTML1
  1065. <IfModule proxy_html_module>
  1066. Include /private/etc/apache2/extra/proxy-html.conf
  1067. </IfModule>
  1068.  
  1069. # Secure (SSL/TLS) connections
  1070. #Include /private/etc/apache2/extra/httpd-ssl.conf
  1071. #
  1072. # Note: The following must must be present to support
  1073. # starting without SSL on platforms with no /dev/random equivalent
  1074. # but a statically compiled-in mod_ssl.
  1075. #
  1076. <IfModule ssl_module>
  1077. SSLRandomSeed startup builtin
  1078. SSLRandomSeed connect builtin
  1079. </IfModule>
  1080.  
  1081. Include /private/etc/apache2/other/*.conf
  1082.  
  1083. create new paste / dealsnew! / api / trends / syntax languages / faq / tools / privacy / cookies / contact / dmca / advertise on pastebin / scraping / go
  1084. Site design & logo © 2016 Pastebin; user contributions (pastes) licensed under cc by-sa 3.0 -- Dedicated Server Hosting by Steadfast
  1085. Top
Advertisement
Add Comment
Please, Sign In to add comment