apache-server-assignment-need-someone-to-do-the-following-and-make-a-word-document-with-that-answers-the-questions
- Your company runs an e-commerce web site using Apache and is looking for an automated way to notify the technical staff when a serious problem with the server arises. What suggestions would you give them? Show the Apache configuration directives necessary to implement your solution. Hint: Take a look at the “ErrorLog” directive.
- Suppose you want to display on a web page the following information: IP address of the client issuing the request, type of client, and the server software that is being used. Show how you would construct this web page using SSI.
- Start Apache and browse the location http://localhost/. Use the developer tools to view the response headers. What do you see in the ‘Server:’ response header field?
- Modify your Apache configuration file and add the directive ServerTokens to display the least amount information in the ‘Server:’ response header. Restart Apache and again browse the location http://localhost/. What do you see in the ‘Server:’ response header?
- Start Apache and type the following URL in your browser ‘http://localhost/?abc=../../’. What response do you get?
- Download and install Mod Security Version 2-9.2 for Apache 2.4.x. It can be downloaded at https://www.apachelounge.com/download/
- Read the file “ReadMe.txt” in the download and follow the instructions for installing Mod Security. Configure Apache with the security directives listed after the line “# A very quick start:” .Restart Apache and again browse using the following URL: ‘http://localhost/?abc=../../’. What response do you get this time?
- Browse the location http://localhost/ . What do you see in the “Server” response header?
- Modify the Apache config file and add the directive ‘SecServerSignature’ to change the name of the server in the “Server” response header.
- Restart Apache and browse the location http://localhost/ . What do you see now in the “Server” response header?