inet4021lab1's Introduction
Lab 1: Abreham Getachew - getac021 Natan Teshome - tesho012 Contributions: Abreham Getachew - Worked on each portion of lab equally. Natan Teshome - Worked on each portion of lab equally. Description: This project is a simple HTTP web server developed in C, designed to comply with the basic principles of HTTP/1.0 as outlined in RFC 1945. The server supports handling GET requests for HTML and image files, using the standard C socket library for network communications. It's structured to serve as an educational tool, demonstrating the fundamentals of web server operation, including request handling, content delivery, and basic server configuration. Files: - HTTP GET Requests: Supports handling HTTP GET requests for serving HTML and image content. - Config File: Uses a `httpd.conf` file for server configuration, allowing customization of the server port, maximum connections, root directory, and default index file. How to use: 1. Run the compiled executable (`myhttpserver`). 2. Access the server through a web browser or HTTP client, using the specified port and server address. Config: The server configuration is specified in the `httpd.conf` file. Below are the configurable parameters: - `Port`: The port on which the server listens for incoming connections. - `MaxConnections`: The maximum number of simultaneous connections the server can handle. - `RootDirectory`: The root directory from which the server serves files. - `DefaultIndex`: The default index file served when accessing the root URL.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.