Why do my web pages fail with “chroot” enabled?
The script makes a “best guess” at which files to copy into the new root. Other files may need to be copied. Look at the script in a text editor for hints as to what types of files are generally needed. Also error messages will often indicate that a file is missing. If so then copy the file into the new root structure in a matching place. For HP Apache 2.