From the course: Apache Web Server: Administration
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Apache directives and arguments - Apache Tutorial
From the course: Apache Web Server: Administration
Apache directives and arguments
Regardless of the location, Apache's configuration is standardized, plain text files filled with directives, one per line. A directive is an instruction telling Apache what to do. Most directives are followed by an argument, which is the data passed to the directive. For example, one of the directives is ServerName which sets the hostname and port that the server uses to identify itself when redirecting. So, an example of the ServerName directive could have an argument of www.example.com. Directives are case-insensitive, meaning that servername would work as well as ServerName in capital case. But, some arguments are case sensitive. Therefore, it's best practice to try to be as accurate as possible and write configurations as if they are case sensitive to avoid potential problems and to improve readability. Let's take a read-only look at the configuration file on our server. Switching back to the terminal, I'm going to use less to page through the contents of the configuration file…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.