No description
Find a file
Luke Mattfeld d3325bb872
Create README.md
Added instructions on how to run
2019-02-16 14:25:52 -08:00
.gitignore added gitignore 2019-02-09 22:08:56 -08:00
DataPass.java Comment Clean-up and more explicit exceptions 2019-02-13 11:38:59 -08:00
HTTPRequest.java Comment Clean-up and more explicit exceptions 2019-02-13 11:38:59 -08:00
MIMETypeList.java Updated comments 2019-02-16 14:06:17 -08:00
MIMEtypes.csv Working with requirements, MIME detection 2019-02-09 22:08:15 -08:00
README.md Create README.md 2019-02-16 14:25:52 -08:00
WebServer.java Updated comments 2019-02-16 14:06:17 -08:00

WebServer

A basic HTTP web server written in Java

How to run:

(These instructions assume the directory where you want to run the server is called $RUNSERV)

  • Clone/Move the WebServer folder into the $RUNSERV directory
  • Complile by running "javac WebServer/*.java" from $RUNSERV
  • Start server by running "java WebServer.WebServer <port#>" from $RUNSERV (note: running without specifying a port number, it will default to 4756)
  • Put any files you would like to be accessable by the server in $RUNSERV.
  • If accessing locally, navigate to "localhost:<port#>/<filename>".