wiki/HowtoOpenBSD/httpd.md
2019-02-18 20:15:21 +01:00

380 B

httpd

https://man.openbsd.org/httpd.8 https://man.openbsd.org/httpd.conf.5

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