From 380f0fe40b1ab20790e75dac779e73667cc5ac72 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 4 Feb 2023 14:10:26 +0000 Subject: Update all content to new pygmentize --- md/writeup/basic_http_server.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'md/writeup/basic_http_server.md') diff --git a/md/writeup/basic_http_server.md b/md/writeup/basic_http_server.md index cd1b4de..249c390 100644 --- a/md/writeup/basic_http_server.md +++ b/md/writeup/basic_http_server.md @@ -4,17 +4,17 @@ keywords:c,http,server # 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: -``` +```sh http://*.*.*.*:/ -> disk start directory http://*.*.*.*:/home/ -> home directory ``` Run: -``` +```sh ./server [port] ``` Compile: -``` +```sh gcc server.c -o server ``` -- cgit v1.2.3