Skip to content

kae-gi/UOCIS322-P1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UOCIS322 - Project 1

Author: Kaetlyn Gibson, kaetlyng@uoregon.edu

Description: A "getting started" project for CIS 322, introduction to software engineering, at the University of Oregon. Uses a tiny web server in Python to convey understanding of basic web architecture.

Includes the following functionality in pageserver.py:

  • If URL ends with name.html or name.css (i.e., if path/to/name.html is in document path (from DOCROOT)), send content of name.html or name.css with proper http response.
  • If name.html is not in current directory Respond with 404 (not found).
  • If a page starts with one of the symbols(~ // ..), respond with 403 forbidden error. For example, url=hostname:5000/..name.html or /~name.html would give 403 forbidden error.

Credits

Michal Young, Ram Durairajan, Steven Walton, Joe Istas.

About

Project 1 - Page Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.7%
  • Shell 6.8%
  • Makefile 5.1%
  • HTML 1.8%
  • CSS 0.6%