diff options
author | FreeArtMan <dos21h@gmail.com> | 2023-02-04 14:10:26 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2023-02-04 14:10:26 +0000 |
commit | 380f0fe40b1ab20790e75dac779e73667cc5ac72 (patch) | |
tree | 9fa3b9c93b58c966daa22f955282bc3c181d909a /md/writeup/basic_http_server.md | |
parent | df881efab146ca3ee61bf8936f948dd976fc4740 (diff) | |
download | md-content-380f0fe40b1ab20790e75dac779e73667cc5ac72.tar.gz md-content-380f0fe40b1ab20790e75dac779e73667cc5ac72.zip |
Update all content to new pygmentize
Diffstat (limited to 'md/writeup/basic_http_server.md')
-rw-r--r-- | md/writeup/basic_http_server.md | 6 |
1 files changed, 3 insertions, 3 deletions
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://*.*.*.*:<port>/ -> disk start directory http://*.*.*.*:<port>/home/ -> home directory ``` Run: -``` +```sh ./server [port] ``` Compile: -``` +```sh gcc server.c -o server ``` |