I set: ChrootDir /var/www I set: DocumentRoot /I trimmed "/var/www" off my Directory entries (so "/var/www" went to "/", and "/var/www/html" went to "/html", etc).
But the only way I can get httpd to start is by creating a symlink in / to /var/www/<x>.
Conversely, I can leave DocumentRoot and Directory entries alone, but then I need to create a symlink in /var/www/var/www back to /var/www.
I can confirm the chroot is working via /proc/<pid>/root.However, using symlinks feels a little hack-ish. I feel like I might be missing something, or leaving my system vulnerable.
Can someone explain whether this setup is correct, and why symlinks are needed? Also, should entries like "Directory" and "Location" be pre-chroot or post-chroot?
Thanks. Joseph D. Wagner --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx