Linux web server that can host static web sites, traverse through the file system and execute Pearl scripts. Also able to create multiple connections at the same time through multi threading.
To clone and compile this application you need Git, make and GCC on your system.
To install the programm, clone this repository to an arbitary folder:
$ git clone https://github.com/jgdevroman/mother.git
And compile the program:
$ make all
The web server can be launched by the command:
$ ./mother --wwwpath=<dir> [--port=<p>] [--threads=<t>]
- --wwwpath - Full path of an arbitary folder where the root folder of the web site is stored.
- --port - Optional: Specify an arbitary port. Default: 2016
- --threads - Optional: Specify arbitary number of threads. Default: 8
After that, you can access your server by inserting the following URL in your browser:
http://localhost:<port> (if --port is not set: 2016)
You can test the server by using the test site "wwwdir"
$ ./mother --wwwpath=</path/to/the/installed/folder/wwwdir> [--port=<p>] [--threads=<t>]
-
Roman Shirasaki jgdevroman- connection-mt.c, jbuffer.c, request-httpx.c, sem.c
-
University of Erlangen/Nuremberg Department of Distributed Systems and Operating Systems - Makefile, libmother.a