[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mod_chroot



Witaj debian-apache!

  mod-chroot on apache 2.0.54 debian sarge1

  apache2.conf
LoadFile /lib/libgcc_s.so.1
PidFile /var/run/apache2.pid
ChrootDir /chroot/apache2
DocumentRoot /var/www/


symlinked NOT by  ln -s /chroot/apache2/var/run /var/run/apache2.pid
(this causes     ln: `/var/run/apache2.pid': the file already exist)
BUT by
ln -s /var/run/apache2.pid /chroot/apache2/var/run (seemed to likn
well)


and then
/etc/init.d# ./apache2 restart
Forcing reload of web server: Apache2.
and then again
./apache2 reload.d#
Reloading web server config...httpd not running, trying to start
done.
and then again
niecka:/etc/init.d# ./apache2 restart
Forcing reload of web server: Apache2 ... no pidfile found! not running?.

 after clearing out all chroot from  apache2.conf the server works fine


 

-- 
Pozdrowienia,
 nieca-onet                          mailto:nieca@poczta.onet.pl



Reply to: