Skip to content

dcampbell01/httpSer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Server for CS 436

Compilation Process:

Type the following then press enter: make

How to Run the Server:

Make sure that a file named index.html, containing valid html, exists in the same directory as the executable. In that directory, type the following then press enter at the end of each line: chmod 777 index.htm ./server 12345

Test the server with a browser or with telnet, at IP Address 144.37.1.24.

The State of the Program:

GET, HEAD, and DELETE, and PUT work!*

  • PUT works in a strange way because telnet doesn't send full HTTP/1.0

Binds to the port you specify and all IP addresses that Empress (or host machine) has available. For Empress, 144.37.1.24 and 127.0.0.1 are usually available.

No caching and no authentication.

Unresolved Issues:

  • Sending 1 argument will crash the server. 0, 2, 3, or more are fine

Miscellaneous Notes:

Empress is using gcc version 4.1.2 20080704 Red Hat 4.1.2-54

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published