frame-src / webserv

HTTP/1.1 Server capable of handling multiple connection through kernel event notification mechanism according to RFC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

					   W E B S E R V

			(c) 2023- by smkatash, jgmaalouf, frame-src / KJF inc.
                		https://github.com/smkatash/42_webserv
        
          			Licensed under WTFPL (see LICENSE file)
		   *NOTE: this is a 42 Project made by three students at 42 Heilbronn*

-------------------------------------------------------------------------------------------------------

INTRO:
-----------
Implementation of a server in C++
The focus of this project is to implement an HTTP/1.1 compliant server according to the RFC[1].
The server is capable of handling multiple connections through kernel event notification mechanism.

Supported methods:
- GET
- POST
- DELETE

Supported CGI scripts:
- python
- perl
- php

HOW TO USE:
-----------
To compile server run:
```
$ cd 42_webserv && make
```

If you use Linux, this will not work because we are using kqueue()[2];

To run server:
Run the executable and press enter or: 
```
$ ./webserv [optional config.conf]
```

If no config file is specified, a default one is provided in the config directory.

RESOURCES:
-----------
[1] https://datatracker.ietf.org/doc/html/rfc2616
[2] https://habr.com/en/articles/600123/

About

HTTP/1.1 Server capable of handling multiple connection through kernel event notification mechanism according to RFC.


Languages

Language:C++ 49.8%Language:HTML 43.4%Language:PHP 3.8%Language:Python 1.4%Language:CSS 0.9%Language:Makefile 0.5%Language:Shell 0.2%