1. leht 1-st

Chroot ei taha tööle hakkata

Postitatud: 27.05.2011, 23:56
Postitas Whitedragon
Proovisin panna apache2-le chrooti peale
ent lisades
ChrootDir /var/www
faili: /etc/apache2/sites-available/default
saan aga taaskäivitamisel vea:
ownuser@server:~$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2
Syntax error on line 4 of /etc/apache2/sites-enabled/000-default:
ChrootDir cannot occur within <VirtualHost> section [fail]
kõik asjad on peale lastud Ubuntu 10.04 pakettidest

Postitatud: 28.05.2011, 09:48
Postitas sander85
http://core.segfault.pl/~hobbit/mod_chroot/install.html

peatükk "Configuration (Apache 1.3 and Apache 2.0)"