httpd.confd 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # /etc/conf.d/httpd: config file for /etc/init.d/httpd
  2. # When you install a module it is easy to activate or deactivate the modules
  3. # and other features of apache using the APACHE2_OPTS line. Every module should
  4. # install a configuration in /etc/httpd/modules.d. In that file will have an
  5. # <IfDefine NNN> directive where NNN is the option to enable that module.
  6. #
  7. # Here are the options available in the default configuration:
  8. #
  9. # AUTH_DIGEST Enables mod_auth_digest
  10. # AUTHNZ_LDAP Enables authentication through mod_ldap (available if USE=ldap)
  11. # CACHE Enables mod_cache
  12. # DAV Enables mod_dav
  13. # ERRORDOCS Enables default error documents for many languages.
  14. # INFO Enables mod_info, a useful module for debugging
  15. # LANGUAGE Enables content-negotiation based on language and charset.
  16. # LDAP Enables mod_ldap (available if USE=ldap)
  17. # MANUAL Enables /manual/ to be the apache manual (available if USE=docs)
  18. # MEM_CACHE Enables default configuration mod_mem_cache
  19. # PROXY Enables mod_proxy
  20. # SSL Enables SSL (available if USE=ssl)
  21. # STATUS Enabled mod_status, a useful module for statistics
  22. # SUEXEC Enables running CGI scripts (in USERDIR) through suexec.
  23. # USERDIR Enables /~username mapping to /home/username/public_html
  24. #
  25. #
  26. # The following two options provide the default virtual host for the HTTP and
  27. # HTTPS protocol. YOU NEED TO ENABLE AT LEAST ONE OF THEM, otherwise apache
  28. # will not listen for incomming connections on the approriate port.
  29. #
  30. # DEFAULT_VHOST Enables name-based virtual hosts, with the default
  31. # virtual host being in /var/www/localhost/htdocs
  32. # SSL_DEFAULT_VHOST Enables default vhost for SSL (you should enable this
  33. # when you enable SSL)
  34. #
  35. APACHE2_OPTS="-D DEFAULT_VHOST -D LANGUAGE -D INFO"
  36. # Extended options for advanced uses of Apache ONLY
  37. # You don't need to edit these unless you are doing crazy Apache stuff
  38. # As not having them set correctly, or feeding in an incorrect configuration
  39. # via them will result in Apache failing to start
  40. # YOU HAVE BEEN WARNED.
  41. # PID file
  42. #PIDFILE=/run/httpd/httpd.pid
  43. # timeout for startup/shutdown checks
  44. #TIMEOUT=10
  45. # ServerRoot setting
  46. #SERVERROOT=/usr/lib/httpd
  47. # Configuration file location
  48. # - If this does NOT start with a '/', then it is treated relative to
  49. # $SERVERROOT by Apache
  50. #CONFIGFILE=/etc/httpd/conf/httpd.conf
  51. # Location to log startup errors to
  52. # They are normally dumped to your terminal.
  53. #STARTUPERRORLOG="/var/log/httpd/startuperror.log"
  54. # A command that outputs a formatted text version of the HTML at the URL
  55. # of the command line. Designed for lynx, however other programs may work.
  56. #LYNX="lynx -dump"
  57. # The URL to your server's mod_status status page.
  58. # Required for status and fullstatus
  59. #STATUSURL="http://localhost/server-status"
  60. # Method to use when reloading the server
  61. # Valid options are 'restart' and 'graceful'
  62. # See http://httpd.apache.org/docs/2.2/stopping.html for information on
  63. # what they do and how they differ.
  64. #RELOAD_TYPE="graceful"