000-default.conf 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <VirtualHost *:80>
  2. # The ServerName directive sets the request scheme, hostname and port that
  3. # the server uses to identify itself. This is used when creating
  4. # redirection URLs. In the context of virtual hosts, the ServerName
  5. # specifies what hostname must appear in the request's Host: header to
  6. # match this virtual host. For the default virtual host (this file) this
  7. # value is not decisive as it is used as a last resort host regardless.
  8. # However, you must set it for any further virtual host explicitly.
  9. #ServerName www.example.com
  10. ServerAdmin webmaster@localhost
  11. DocumentRoot /var/www/html
  12. # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  13. # error, crit, alert, emerg.
  14. # It is also possible to configure the loglevel for particular
  15. # modules, e.g.
  16. #LogLevel info ssl:warn
  17. ErrorLog /var/log/httpd-error.log
  18. CustomLog /var/log/httpd-access.log combined
  19. # For most configuration files from conf-available/, which are
  20. # enabled or disabled at a global level, it is possible to
  21. # include a line for only one particular virtual host. For example the
  22. # following line enables the CGI configuration for this host only
  23. # after it has been globally disabled with "a2disconf".
  24. #Include conf-available/serve-cgi-bin.conf
  25. </VirtualHost>