Le 2017-02-13 00:03, tec...@protonmail.com a écrit :
Hello,
I have a special use case for the HTTPD server, I would like to
disable the chroot but can't seem to get it working correctly. Within
httpd.conf, I have tried to set:
chroot "/" ## Instead of default which is: /var/www
root "/var/www/htdocs/web"
#root "/htdocs/web" # Disabled
location "/" {
directory {
index "index.html"
}
}
But I can't access my page until I put it back to normal (uncomment
the # lines and remove the new ones)
Any help would be greatly appreciated. Thanks
hello
the following works for me on -current
chroot "/"
logdir "/var/www/logs/"
server "*" {
listen on * port 8080
root "/var/www/htdocs/"
location "/solene/" {
directory auto index
}
}