Advertisement
Guest User

/etc/conf.d/apache2

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