Project

General

Profile

Bug #144

document-root existence checked before chroot occurs

Added by Anonymous over 13 years ago. Updated over 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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

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

Associated revisions

Revision 610 (diff)
Added by jan over 13 years ago

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

Revision 1ce7cb82 (diff)
Added by jan over 13 years ago

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

History

#1

Updated by Anonymous over 13 years ago

-- jochen

#2

Updated by jan over 13 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

looks good, applied in r610

Also available in: Atom