From 0f2dfa42fd3de95a38c4e68a6f6ae4545e6b8093 Mon Sep 17 00:00:00 2001 From: gcolpart Date: Mon, 18 Feb 2019 20:15:21 +0100 Subject: [PATCH] draft --- HowtoOpenBSD/httpd.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 HowtoOpenBSD/httpd.md diff --git a/HowtoOpenBSD/httpd.md b/HowtoOpenBSD/httpd.md new file mode 100644 index 00000000..850482b7 --- /dev/null +++ b/HowtoOpenBSD/httpd.md @@ -0,0 +1,36 @@ +# httpd + + + + +## Configuration + +minimale : + +~~~ +chroot "/var/www" +server "default" { + listen on * port 80 + root "/htdocs" +} +~~~ + +## Administration + +Vérifier la configuration : + +~~~ +# httpd -nf /etc/httpd.conf +~~~ + +Lancer le démon : + +~~~ +# httpd +~~~ + +Stopper le démon (gruik) : + +~~~ +# pkill -9 httpd +~~~ \ No newline at end of file