This is a very simple HTTP server for Unix, using fork(). It's very easy to use
- include header
httpd.h
- write your route method, handling requests.
- call
serve_forever("12913")
to start serving on port 12913
# Python HTTP Server! | |
This is very basic Python HTTP server with ability of handling GET and POST requests. | |
For Python 3.x. | |
For Python 2.x see here: https://gist.github.com/vgezer/59c002587e655ff69b8f2f1f0c4ca7a4 | |
This one handles multiple requests by creating multiple threads, preventing e.g. unresponsive server until restart, caused by Chrome. | |
## Installation | |
No installation! | |
## Configuration |
# Python HTTP Server! | |
This is very basic Python HTTP server with ability of handling GET and POST requests. | |
For Python 2.x. | |
For Python 3.x see here: https://gist.github.com/vgezer/59c002587e655ff69b8f2f1f0c4ca7a4 | |
This one handles multiple requests by creating multiple threads, preventing e.g. unresponsive server until restart, caused by Chrome. | |
## Installation | |
No installation! | |
## Configuration |
Replace user with your username and save the file to the location /etc/init.d/
with the name pagekite
and give execute permissions on the file chmod +x pagekite
Then execute:
# update-rc.d pagekite defaults
Preparing BerryBoot Images
For people short on SD cards: Berryboot is a simple boot selection screen, allowing you to put multiple Linux distribution on a single SD card. In addition it allows you to put the operating system files on an external USB hard drive instead of on the SD card itself.