Package: libapache2-mod-chroot
Version: 0.5-5
Severity: normal
In /usr/share/doc/libapache2-mod-chroot/README.Debian.Apache20 we can
read :
To make it work, do the following steps
1. ln -s /var/www/var/run/httpd.pid /var/run/apache2.pid
2. Append the following to /etc/apache2/apache2.conf:
<IfModule mod_chroot.c>
LoadFile /lib/libgcc_s.so.1
PidFile /var/run/httpd.pid
ChrootDir /var/www
DocumentRoot
</IfModule>
but /etc/init.d/apache2 searches for the directive PidFile in the /etc/apache2
directory which is httpd.pid since it works with the PidFile, whereas in fact
the file with which we work is apache2.pid in the real directory /var/run
Instead "ln -s /var/www/var/run/httpd.pid /var/run/apache2.pid", use "ln -s
/var/www/var/run/apache2.pid /var/run/apache2.pid"
and instead of "PidFile /var/run/httpd.pid", use "PidFile /var/run/apache2.pid"
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2-grsec
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages libapache2-mod-chroot depends on:
ii apache2.2-common 2.2.3-3.2 Next generation, scalable, extenda
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii mod-chroot-common 0.5-5 run Apache in a secure chroot envi
libapache2-mod-chroot recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]