Which of the following is the default document root used by the Apache2 Web server?
  1. /tmp
  2. /srv/www/htdocs
  3. /home/httpd
  4. /var/lib/httpd/htdocs
Explanation
Answer - B - /srv/www/htdocs is the default document root used by the Apache2 Web server.

Key Takeaway: The /srv/www/htdocs directory is the default document root used by the Apache 2 Web server. Apache is the most commonly-used Web Server on Linux systems. Apache is configured by placing directives in plain text configuration files. The main configuration file is called apache2.conf, although there are other configuration files.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz