Question: Activity 1 0 - 4 : Using Apache Configuration Files 1 ) If the terminal window is still open, switch to the root user. If

Activity 10-4: Using Apache Configuration Files
1) 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 1 in Activity 10-1
2) Display a long list of all Apache configuration files by typing cd /etc/apache2; ls -l and pressing Enter.
You can enter these two commands on the same line by separating them with a semicolon.
3) View the default-server.conf files contents by typing less default-server.conf and pressing Enter. Read
the comments and directives, and write down the following information. When youre finished, type q
4) 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
5) Change back to the /etc/apache2 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
6) 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!