Download presentation
Presentation is loading. Please wait.
1
Web Server Design Assignment #1: Basic Operations
Old Dominion University Department of Computer Science CS 495/595 Spring 2012 Michael L. Nelson
2
Grading To be done by an automated program that will test most (all?) combinations assignment is listed under the day it is to be demoed in class each person will give a 3-4 minute status report the week before an assignment is due! If you have a question: the class list mimic the behavior of a well known Apache server (e.g.,
3
Methods to Support GET HEAD OPTIONS TRACE
4
Status Codes to Support
200 - OK 400 - Bad Request 403 - Forbidden 404 - Not Found 500 - Internal Server Error 501 - Not Implemented 505 - HTTP Version Not Supported
5
Request Headers Connection: close Host: [IP hostname]
6
Response Headers Date Server Last-Modified Content-Length Content-Type
Connection: close Allow
7
Limited Functionality!
Points will be deducted for headers, response codes, etc. that are not explicitly defined in this assignment!
8
MIME Types text/plain (default mime type) text/html text/xml image/png
image/jpeg image/gif application/pdf application/vnd.ms-powerpoint application/vnd.ms-word message/http
9
Your Access Log… GET /.well-known/access.log HTTP/1.1
(typically not a good idea to expose your log via the web server, but we’re ok here…) implement as a virtual URI… cf. RFC 5785 Content-type will be “text/plain”
10
gzip & tar % gunzip -c bucket/content/~a~a1-test.tar.gz | tar xvf -
a1-test/1/1.1/go hokies!.html a1-test/1/1.2/ a1-test/1/1.2/arXiv.org.Idenitfy.repsonse.xml a1-test/1/1.3/ a1-test/1/1.3/assignment1.ppt a1-test/1/1.4/ a1-test/1/1.4/test:.html a1-test/1/1.4/test:.HTM a1-test/1/1.4/escape%this.html a1-test/2/ a1-test/2/0.jpeg a1-test/2/index.html a1-test/2/6.gif a1-test/3/ a1-test/4/ a1-test/4/thisfileisempty.txt a1-test/4/directory3isempty
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.