Create a directory under ‘htdocs’ named ‘exercises’ and a subdirectory ‘week_5’.
Add the file ‘ex5_1.html’ from the ‘Example Files’ folder to this directory.
Add directives in your configuration file to deny access from all hosts but to allow overrides from ‘.htaccess’ files. What directives did you use?
Restart Apache and try accessing this file. What do you see?
What directives can you add to the associated access file to allow access from all hosts? Add these directives and try accessing the file.
Exercise 5-2
In your ‘week_5’ directory add the file ‘ex5_2.html’.
How can you modify your configuration to allow the display of the ‘ex5_2.html’ file but not the ‘ex5_1.html’ file using the <Files> or <FilesMatch> directives?
Exercise 5-3
Uncomment the “mod_headers” module in your “httpd.conf” file.
In your ‘week_5’ directory add the file ‘ex5_3.html’.
Add the following directive in your configuration file: Header set ResponseTime %D
Restart Apache and set your browser URL to access the file ‘ex5_3.html’.
View the Response Headers using the developer tools.
Do you see the new header ResponseTime? What is it’s value?
Looking for solution of this Assignment?
WHY CHOOSE US?
We deliver quality original papers
Our experts write quality original papers using academic databases.We dont use AI in our work. We refund your money if AI is detected
Free revisions
We offer our clients multiple free revisions just to ensure you get what you want.
Discounted prices
All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount
100% originality
We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity.We have ZERO TOLERANCE TO USE OF AI
On-time delivery
We will deliver your paper on time even on short notice or short deadline, overnight essay or even an urgent essay
https://myprivateresearcher.com/wp-content/uploads/2021/02/MPR-ICON-300x56.png00adminhttps://myprivateresearcher.com/wp-content/uploads/2021/02/MPR-ICON-300x56.pngadmin2024-01-22 18:43:482024-01-22 18:43:48apache server lab easy to do lab just need to answer the questions about the lab will need to send an email with few attachments as studypool will not let me upload html files