mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
You don't "usually" need root privs for chroot(), you always do.
This commit is contained in:
parent
4fed6d0665
commit
258d54ed8c
@ -27,7 +27,7 @@ Serve at most 4 simultaneous connections:
|
|||||||
Log accesses to a file:
|
Log accesses to a file:
|
||||||
$ ./darkhttpd ~/public_html --log access.log
|
$ ./darkhttpd ~/public_html --log access.log
|
||||||
|
|
||||||
Chroot for extra security (you usually have to be root to do this):
|
Chroot for extra security (you need root privs for chroot):
|
||||||
$ ./darkhttpd /var/www/htdocs --chroot
|
$ ./darkhttpd /var/www/htdocs --chroot
|
||||||
|
|
||||||
Use default.htm instead of index.html:
|
Use default.htm instead of index.html:
|
||||||
|
Loading…
Reference in New Issue
Block a user