Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-26-2006, 10:41 AM   #1
LQ Newbie
Registered: Oct 2006
Location: Copenhagen - Denmark
Distribution: Debian etch 2.6.16-2-486
Posts: 1

Rep: Reputation: 0
Chrooting apache 2

I've googled for years now, and can't still find a way to make this work. I wan't to chroot apache 2 with the mod-security module. I've added the line "SecChrootDir /chroot/apache" to the httpd.conf, and loaded the module mod-security, but when i try to start the server it just writes: failed or something with red.

My directory /chroot/apache is empty, it shouldn't be right?

In "www,modsecurity,org" they write: "While I was chrooting an Apache the other day I realised that I was bored with the process and I started looking for ways to simplify it. As a result, I built the chrooting functionality into the mod_security module itself, making the whole process less complicated. With mod_security under your belt, you only need to add one line to the configuration file:
SecChrootDir /chroot/apache
and your web server will be chrooted successfully.

Why is it writing failed then, and won't start until i remove the line "SecChrootDir /chroot/apache" from my httpd.conf file


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chrooting nucleocide Linux - Software 2 08-08-2005 04:30 PM
Chrooting Apache, JAIL is giving me problems xbaez Linux - Software 1 08-08-2005 10:14 AM
Chrooting Apache 2? darklogik_org Linux - Software 0 02-10-2004 03:34 AM
chrooting apache with php support - sendmail problems markus1982 Linux - Security 9 01-29-2003 05:13 AM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 06:15 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration