2009-10-8 Basic HTTP server
Basic HTTP server. When you type url it shows listing of your local directory. If you tipe with path to file name noting hapens
Use:
http://*.*.*.*:<port>/ -> disk start directory
http://*.*.*.*:<port>/home/ -> home directory
Run:
Compile:
Here is also python source. It runs on port:8081 and prints in terminal HTTP request. You can see what browser sends to server.
Use:
http://*.*.*.*:<port>/ -> disk start directory
http://*.*.*.*:<port>/home/ -> home directory
Run:
./server port
Compile:
gcc server.c -o server
Here is also python source. It runs on port:8081 and prints in terminal HTTP request. You can see what browser sends to server.