Advertisement
Guest User

Untitled

a guest
Jan 19th, 2011
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.52 KB | None | 0 0
  1. # This is a modification of the default Apache 2.2 configuration file
  2. # for Gentoo Linux.
  3. #
  4. # Support:
  5. # http://www.gentoo.org/main/en/lists.xml [mailing lists]
  6. # http://forums.gentoo.org/ [web forums]
  7. # irc://irc.freenode.net#gentoo-apache [irc chat]
  8. #
  9. # Bug Reports:
  10. # http://bugs.gentoo.org [gentoo related bugs]
  11. # http://httpd.apache.org/bug_report.html [apache httpd related bugs]
  12. #
  13. #
  14. # This is the main Apache HTTP server configuration file. It contains the
  15. # configuration directives that give the server its instructions.
  16. # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
  17. # In particular, see
  18. # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
  19. # for a discussion of each configuration directive.
  20. #
  21. # Do NOT simply read the instructions in here without understanding
  22. # what they do. They're here only as hints or reminders. If you are unsure
  23. # consult the online docs. You have been warned.
  24. #
  25. # Configuration and logfile names: If the filenames you specify for many
  26. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  27. # server will use that explicit path. If the filenames do *not* begin
  28. # with "/", the value of ServerRoot is prepended -- so "var/log/apache2/foo_log"
  29. # with ServerRoot set to "/usr" will be interpreted by the
  30. # server as "/usr/var/log/apache2/foo.log".
  31.  
  32. # ServerRoot: The top of the directory tree under which the server's
  33. # configuration, error, and log files are kept.
  34. #
  35. # Do not add a slash at the end of the directory path. If you point
  36. # ServerRoot at a non-local disk, be sure to point the LockFile directive
  37. # at a local disk. If you wish to share the same ServerRoot for multiple
  38. # httpd daemons, you will need to change at least LockFile and PidFile.
  39. ServerRoot "/usr/lib64/apache2"
  40.  
  41. # Dynamic Shared Object (DSO) Support
  42. #
  43. # To be able to use the functionality of a module which was built as a DSO you
  44. # have to place corresponding `LoadModule' lines at this location so the
  45. # directives contained in it are actually available _before_ they are used.
  46. # Statically compiled modules (those listed by `httpd -l') do not need
  47. # to be loaded here.
  48. #
  49. # Example:
  50. # LoadModule foo_module modules/mod_foo.so
  51. #
  52. # GENTOO: Automatically defined based on APACHE2_MODULES USE_EXPAND variable.
  53. # Do not change manually, it will be overwritten on upgrade.
  54. #
  55. # The following modules are considered as the default configuration.
  56. # If you wish to disable one of them, you may have to alter other
  57. # configuration directives.
  58. #
  59. # Change these at your own risk!
  60.  
  61. LoadModule actions_module modules/mod_actions.so
  62. LoadModule alias_module modules/mod_alias.so
  63. LoadModule auth_basic_module modules/mod_auth_basic.so
  64. LoadModule authn_alias_module modules/mod_authn_alias.so
  65. LoadModule authn_anon_module modules/mod_authn_anon.so
  66. LoadModule authn_dbm_module modules/mod_authn_dbm.so
  67. LoadModule authn_default_module modules/mod_authn_default.so
  68. LoadModule authn_file_module modules/mod_authn_file.so
  69. <IfDefine AUTHNZ_LDAP>
  70. LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
  71. </IfDefine>
  72. LoadModule authz_dbm_module modules/mod_authz_dbm.so
  73. LoadModule authz_default_module modules/mod_authz_default.so
  74. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  75. LoadModule authz_host_module modules/mod_authz_host.so
  76. LoadModule authz_owner_module modules/mod_authz_owner.so
  77. LoadModule authz_user_module modules/mod_authz_user.so
  78. LoadModule autoindex_module modules/mod_autoindex.so
  79. <IfDefine CACHE>
  80. LoadModule cache_module modules/mod_cache.so
  81. </IfDefine>
  82. LoadModule cgi_module modules/mod_cgi.so
  83. LoadModule cgid_module modules/mod_cgid.so
  84. <IfDefine DAV>
  85. LoadModule dav_module modules/mod_dav.so
  86. </IfDefine>
  87. <IfDefine DAV>
  88. LoadModule dav_fs_module modules/mod_dav_fs.so
  89. </IfDefine>
  90. <IfDefine DAV>
  91. LoadModule dav_lock_module modules/mod_dav_lock.so
  92. </IfDefine>
  93. LoadModule deflate_module modules/mod_deflate.so
  94. LoadModule dir_module modules/mod_dir.so
  95. <IfDefine CACHE>
  96. LoadModule disk_cache_module modules/mod_disk_cache.so
  97. </IfDefine>
  98. LoadModule env_module modules/mod_env.so
  99. LoadModule expires_module modules/mod_expires.so
  100. LoadModule ext_filter_module modules/mod_ext_filter.so
  101. <IfDefine CACHE>
  102. LoadModule file_cache_module modules/mod_file_cache.so
  103. </IfDefine>
  104. LoadModule filter_module modules/mod_filter.so
  105. LoadModule headers_module modules/mod_headers.so
  106. LoadModule include_module modules/mod_include.so
  107. <IfDefine INFO>
  108. LoadModule info_module modules/mod_info.so
  109. </IfDefine>
  110. <IfDefine LDAP>
  111. LoadModule ldap_module modules/mod_ldap.so
  112. </IfDefine>
  113. LoadModule log_config_module modules/mod_log_config.so
  114. LoadModule logio_module modules/mod_logio.so
  115. <IfDefine CACHE>
  116. LoadModule mem_cache_module modules/mod_mem_cache.so
  117. </IfDefine>
  118. LoadModule mime_module modules/mod_mime.so
  119. LoadModule mime_magic_module modules/mod_mime_magic.so
  120. LoadModule negotiation_module modules/mod_negotiation.so
  121. LoadModule rewrite_module modules/mod_rewrite.so
  122. LoadModule setenvif_module modules/mod_setenvif.so
  123. LoadModule speling_module modules/mod_speling.so
  124. <IfDefine SSL>
  125. LoadModule ssl_module modules/mod_ssl.so
  126. </IfDefine>
  127. <IfDefine STATUS>
  128. LoadModule status_module modules/mod_status.so
  129. </IfDefine>
  130. LoadModule unique_id_module modules/mod_unique_id.so
  131. <IfDefine USERDIR>
  132. LoadModule userdir_module modules/mod_userdir.so
  133. </IfDefine>
  134. LoadModule usertrack_module modules/mod_usertrack.so
  135. LoadModule vhost_alias_module modules/mod_vhost_alias.so
  136.  
  137. # If you wish httpd to run as a different user or group, you must run
  138. # httpd as root initially and it will switch.
  139. #
  140. # User/Group: The name (or #number) of the user/group to run httpd as.
  141. # It is usually good practice to create a dedicated user and group for
  142. # running httpd, as with most system services.
  143. User apache
  144. Group apache
  145.  
  146. # Supplemental configuration
  147. #
  148. # Most of the configuration files in the /etc/apache2/modules.d/ directory can
  149. # be turned on using APACHE2_OPTS in /etc/conf.d/apache2 to add extra features
  150. # or to modify the default configuration of the server.
  151. #
  152. # To know which flag to add to APACHE2_OPTS, look at the first line of the
  153. # the file, which will usually be an <IfDefine OPTION> where OPTION is the
  154. # flag to use.
  155. Include /etc/apache2/modules.d/*.conf
  156.  
  157. # Virtual-host support
  158. #
  159. # Gentoo has made using virtual-hosts easy. In /etc/apache2/vhosts.d/ we
  160. # include a default vhost (enabled by adding -D DEFAULT_VHOST to
  161. # APACHE2_OPTS in /etc/conf.d/apache2).
  162. Include /etc/apache2/vhosts.d/*.conf
  163.  
  164. # vim: ts=4 filetype=apache
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement