Reference no: EM13879571
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:
<html>
<head>
<title>
Under Construction
</title>
</head>
<body>
Under Construction
</body>
</html>
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?
What is the profit margin
: McCormac Co. wishes to maintain a growth rate of 8 percent a year, a debt-equity ratio of 0.51, and a dividend payout ratio of 56 percent. The ratio of total assets to sales is constant at 1.23. What is the profit margin?
|
What is the banks cost of preferred stock
: Sixteenth Bank has an issue of 6% preferred stock with a $100.00 par value that just sold for $89 per share. What is the bank’s cost of preferred stock? (Show your work and round your answer to two decimal places).
|
Square box is considering two independent projects
: The Square Box is considering two independent projects, both of which have an initial cost of $18,000. The cash inflows of Project A are $3,000, $7,000, and $10,000 over the next three years, respectively.
|
What is the total value of the objective function
: Does this provide the optimal solution? If so, indicate what the solution is and how you decided it was optimal. If not, indicate how you decided and what the next variable introduced into the basis should be.
|
How the servertokens directive works by now
: 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.
|
Insurance coverages you will need to bind for the business
: Identify ALL insurance coverage’s you will need to bind for the business. Be specific about the details of any aviation related coverage’s. Business grows and soon you find it hard to maintain the increasing pace. You need to hire a part time pilot t..
|
Crucial to designing good products and technologies
: Understanding users is crucial to designing good products and technologies, and typically requires to use a variety of methods and almost always to use more than one method for any given project. How can a mobile system help long-distance bicyclists ..
|
Explaining how the article is related to intelligence
: Read pages 1-20 in the "Consumer Guide to Intelligence" article and the "Definition of Intelligence" article. Write at least two paragraphs explaining how the article is related to Intelligence
|
Calculate the patient volume needed per month
: As administrative director of the laboratory you have been asked to see if it is feasible to add more staff to support laboratory services. You have gathered the following information. Calculate the patient volume needed per month if the lab center d..
|