课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

A closer look at the Apache configuration

A closer look at the Apache configuration

- [Instructor] The main Apache configuration file is stored in /etc/httpd/conf/httpd.conf. Let's take a closer look at the layout. The Apache configuration file has a long list of possible directives. Directives are key value pairs. Comments start with a hash symbol. Global directives are alone on the line, but directives can be inside a container. A container begins a container name within angle brackets. The container holds various directives, and then close similar to how HTML or XML works. We won't cover all directives in this video as there's over 650 of them, but I will highlight some more common ones. Listen specifies the IP address and ports to listen to. ServerRoot is the base directory for the server installation. ServerAdmin is the email address that the server includes in messages sent to the client. ServerName is the hostname and port that the server uses to identify itself. User is the user that the Apache server runs as. Group is the group that the Apache server runs…

内容