[mod-security-users] DocumentRoot path
Brought to you by:
victorhora,
zimmerletw
|
From: Julius S. <us...@zg...> - 2005-04-13 21:56:29
|
Hi, I'm trying to chroot my Apache 2 server. I've added this to my httpd.conf: # mod_security stuff SecChrootDir /chroot/apache And I moved the directory /var/www to /chroot/apache/var/www When I try to start Apache, I now get the following error message though: Starting httpd daemon: /usr/sbin/apachectl start Syntax error on line 357 of /etc/apache2/httpd.conf: DocumentRoot must be a directory Am I doing something wrong? I would expect I would only need to specify the path within the chroot environment. Do I need to specify the full path instead? Thanks in advance, Julius |