Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Programming Language Expert

Apache Cookbook

1. In preparation for this assignment do the following:

a. Boot Fedora, open a terminal session, and login as root.

b. Install telnet by typing yum install -y telnet at the command prompt and then pressing Enter. The yum installer will install telnet and then return you to the command prompt.

c. Navigate to /var/www/html and create a file called index.html. Insert the following html code into the file and then save it:



<br />Under Construction<br />


Under Construction

2. At the command prompt, type the following command and press Enter:

telnet localhost 80

A telnet session will start.

3. At the command prompt in the telnet session, type the following text and press Enter after each line:

HEAD / HTTP/1.1

Host: localhost

You must follow this text with a blank line, so press the Enter key again.

A response from the server appears on the screen. Record every line of that response.

7. Edit httpd.confand modify the ServerTokens directive to look like this:

ServerTokens Minor

8. Save the file, exit the editor, and restart Apache.

9. Repeat the telnet session and compare the output you receive with the output you recorded in Step 3. What has changed?

10. You should understand how the ServerTokens directive works by now. You can try two other settings, Major and Prod, and see that they reveal increasingly less detail.

11. Edithttpd.conf. Locate the ServerSignature line or add it if necessary. If the line is commented out, remove the comment character. When you finish, the link should look like this:

ServerSignature On

12. Save the file, exit the editor, and restart Apache.

13. Rerun the telnet session from steps 2 and 3, and compare the output with what you recorded previously in Step 3. What has changed?

14. Type the following lines and press Enter after each one.

telnet localhost 80
GET /nonsense HTTP/1.1
Host: localhost

You must follow this text with a blank line, so press the Enter key again.

Record the error message you receive in the space provided.

15. Why do you think you received an error message from Apache when you executed this series of commands? You may use the Internet or any other credible source to answer this question.

16. What was the function of Telnet in this lab?

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M91548085
  • Price:- $90

Priced at Now at $90, Verified Solution

Have any Question?


Related Questions in Programming Language

Assignment task -q1 a the fibonacci numbers are the numbers

Assignment Task - Q1. (a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first two is the sum of the ...

Assignment - horse race meetingthe assignment will assess

Assignment - Horse Race Meeting The Assignment will assess competencies for ICTPRG524 Develop high level object-oriented class specifications. Summary The assignment is to design the classes that are necessary for the ad ...

Task silly name testeroverviewcontrol flow allows us to

Task: Silly Name Tester Overview Control flow allows us to alter the order in which our programs execute. Building on our knowledge of variables, we can now use control flow to create programs that perform more than just ...

Overviewthis tasks provides you an opportunity to get

Overview This tasks provides you an opportunity to get feedback on your Learning Summary Report. The Learning Summary Report outlines how the work you have completed demonstrates that you have met all of the unit's learn ...

Task working with arraysoverviewin this task you will

Task: Working with Arrays Overview In this task you will create a simple program which will create and work with an array of strings. This array will then be populated with values, printed out to the console, and then, w ...

Assignment - proposal literature review research method1

Assignment - Proposal, Literature Review, Research Method 1. Abstract - Summary of the knowledge gap: problems of the existing research - Aim of the research, summary of what this project is to achieve - Summary of the a ...

Question - create a microsoft word macro using vba visual

Question - Create a Microsoft Word macro using VBA (Visual Basic for Applications). Name the macro "highlight." The macro should highlight every third line of text in a document. (Imagine creating highlighting that will ...

Assignment - haskell program for regular expression

Assignment - Haskell Program for Regular Expression Matching Your assignment is to modify the slowgrep.hs Haskell program presented in class and the online notes, according to the instructions below. You may carry out th ...

Structs and enumsoverviewin this task you will create a

Structs and Enums Overview In this task you will create a knight database to help Camelot keep track of all of their knights. Instructions Lets get started. 1. What the topic 5 videos, these will guide you through buildi ...

Background informationthis assignment tests your

Background Information This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit. The concepts covered in the second half of the unit build upon the fun ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As