Project

General

Profile

Actions

Bug #144

closed

document-root existence checked before chroot occurs

Added by Anonymous almost 20 years ago. Updated over 18 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

In subversion's configfile.c, the config_set_defaults() function errors out if the document_root does not exist. main() in server.c calls config_set_defaults() before the chroot occurs, so lighttpd is checking outside of the chroot when it should be checking inside of the chroot.

Workaround is to make an empty directory outside of the chroot to satisfy the existence check.

-- sferris


Files

configfile.diff (980 Bytes) configfile.diff patch to configfile.c -- jochen Anonymous, 2005-08-20 15:17

Added by jan over 19 years ago

Revision 610 (diff)

fixed check for base-docroot if chroot is used (fixes #144), patch provided by jochen at schalanda.de

Added by jan over 19 years ago

Revision 1ce7cb82 (diff)

fixed check for base-docroot if chroot is used (fixes #144), patch provided by jochen at schalanda.de

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@610 152afb58-edef-0310-8abb-c4023f1b3aa9

Actions

Also available in: Atom