Question: Activity 1 0 - 4 : Using Apache Configuration Files 1 ) If the terminal window is still open, switch to the root user. If
Activity : Using Apache Configuration Files
If the terminal window is still open, switch to the root user. If you dont have a terminal window open or if
VMware Player isnt running, follow Step in Activity
Display a long list of all Apache configuration files by typing cd etcapache; ls l and pressing Enter.
You can enter these two commands on the same line by separating them with a semicolon.
View the defaultserver.conf files contents by typing less defaultserver.conf and pressing Enter. Read
the comments and directives, and write down the following information. When youre finished, type q
View the virtual host templates contents by typing cd vhosts.d;less vhost.template and pressing Enter.
The first few comments explain the purpose of the virtual host template. When naming virtual host
configuration files, what suffix must you add to the filename for it to load successfully? Type q to return to
the command prompt when youre finished
Change back to the etcapache directory by typing cd and pressing Enter. Choose two other
configuration files to examine. Configuration files have a lot of information that explains the purpose of
directives. Make sure to read these comments to understand how configuration files affect an Apache Web
server
Leave the terminal window open and the virtual machine running for the next activity.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
