Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am using Apache 2 on Debian 6. I tried to make Apache by using following resource: http://www.debian.org/doc/manuals/securing-debian-howto/ap-chroot-apache-env.en.html

how can i be sure that Apache is chrooted correctly? if I delete /etc/apache2/apache2.conf (because i have copy of that in jail directory), would i expect that Apache still run correctly?

share|improve this question

1 Answer 1

Deleting the config while the server is running doesn't show a thing because the config is only read on startup.

You can at least deduce that the server is running correctly in chroot, if you look where the logs are placed. If they are correctly placed, relatively to the chroot path, then your apache is most likely in a chroot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.