<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Red Hat / CentOS: Chroot Apache 2 Web Server</title> <atom:link href="http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: mahbubeh</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-175880</link> <dc:creator>mahbubeh</dc:creator> <pubDate>Mon, 21 Nov 2011 06:58:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-175880</guid> <description>dear, after doing these steps now i can&#039;t open my site, i have done these settings in my localhost :((
any idea??
thanks in advance</description> <content:encoded><![CDATA[<p>dear, after doing these steps now i can&#8217;t open my site, i have done these settings in my localhost :((</p><p>any idea??</p><p>thanks in advance</p> ]]></content:encoded> </item> <item><title>By: ravenhwk</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-175276</link> <dc:creator>ravenhwk</dc:creator> <pubDate>Fri, 28 Oct 2011 00:22:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-175276</guid> <description>So after doing this in CentOS I get this:
[error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.
[error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED
Help!</description> <content:encoded><![CDATA[<p>So after doing this in CentOS I get this:</p><p>[error] NSS_Initialize failed. Certificate database: /etc/httpd/alias.<br
/> [error] SSL Library Error: -8038 SEC_ERROR_NOT_INITIALIZED</p><p>Help!</p> ]]></content:encoded> </item> <item><title>By: Pankaj</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-175001</link> <dc:creator>Pankaj</dc:creator> <pubDate>Wed, 19 Oct 2011 18:00:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-175001</guid> <description>Hi Vivek,
Just want to ask, in the chroot directories why the httpd.conf file is not included i.e. the &quot;/etc/httpd&quot; directory, as that is also one of the important configuration directory which can be hacked or modified. Whether that is required ? What is the reason of not including that ?
Regards
Pankaj</description> <content:encoded><![CDATA[<p>Hi Vivek,</p><p>Just want to ask, in the chroot directories why the httpd.conf file is not included i.e. the &#8220;/etc/httpd&#8221; directory, as that is also one of the important configuration directory which can be hacked or modified. Whether that is required ? What is the reason of not including that ?</p><p>Regards<br
/> Pankaj</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-171922</link> <dc:creator>Mike</dc:creator> <pubDate>Tue, 14 Jun 2011 04:47:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-171922</guid> <description>Hi,
I have using slackware linux 13.1 64bit, I have already installed the apache below path( /usr/loca/apache2). Now I have install the mod_xslt2 module in apahce. while install the
moudle I am getting below error. Please help me how to fix this issue.
../configure --with-sapi=apache2
configure: * Trying with: &#039;apache2&#039;
checking for apxs2... no
checking for /usr/sbin/apxs2... no
checking for /usr/bin/apxs2... no
checking for /usr/local/bin/apxs2... no
checking for /usr/local/apache/bin/apxs2... no
checking for apxs... /usr/sbin/apxs
configure: WARNING:
* Apache has been compiled with a different compiler than the specified (or detected) one!
* I will use the same compiler as used by apache: &#039;x86_64-slackware-linux-gcc&#039;
* I&#039;m also assuming &#039;x86_64-slackware-linux-gcc&#039; is ISO C and POSIX compliant.
checking for apr-config... no
configure: error: apache2: couldn&#039;t find a valid &#039;apr-config&#039;. Please use --with-apr-config.
Mike</description> <content:encoded><![CDATA[<p>Hi,</p><p>I have using slackware linux 13.1 64bit, I have already installed the apache below path( /usr/loca/apache2). Now I have install the mod_xslt2 module in apahce. while install the<br
/> moudle I am getting below error. Please help me how to fix this issue.</p><p>../configure &#8211;with-sapi=apache2<br
/> configure: * Trying with: &#8216;apache2&#8242;<br
/> checking for apxs2&#8230; no<br
/> checking for /usr/sbin/apxs2&#8230; no<br
/> checking for /usr/bin/apxs2&#8230; no<br
/> checking for /usr/local/bin/apxs2&#8230; no<br
/> checking for /usr/local/apache/bin/apxs2&#8230; no<br
/> checking for apxs&#8230; /usr/sbin/apxs<br
/> configure: WARNING:<br
/> * Apache has been compiled with a different compiler than the specified (or detected) one!<br
/> * I will use the same compiler as used by apache: &#8216;x86_64-slackware-linux-gcc&#8217;<br
/> * I&#8217;m also assuming &#8216;x86_64-slackware-linux-gcc&#8217; is ISO C and POSIX compliant.<br
/> checking for apr-config&#8230; no<br
/> configure: error: apache2: couldn&#8217;t find a valid &#8216;apr-config&#8217;. Please use &#8211;with-apr-config.</p><p>Mike</p> ]]></content:encoded> </item> <item><title>By: j0</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-171190</link> <dc:creator>j0</dc:creator> <pubDate>Fri, 06 May 2011 18:49:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-171190</guid> <description>Gary,
Thanks in advance, but is there any links/tips how to install it as you said, other than Vivek thread?</description> <content:encoded><![CDATA[<p>Gary,</p><p>Thanks in advance, but is there any links/tips how to install it as you said, other than Vivek thread?</p> ]]></content:encoded> </item> <item><title>By: Gary Wilson (earthgecko)</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-171185</link> <dc:creator>Gary Wilson (earthgecko)</dc:creator> <pubDate>Fri, 06 May 2011 09:07:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-171185</guid> <description>Good howto
Just an update that you may want to mention at the start of this post.  As of apache 2.2.10 chroot is now included in the Apache MPM Common Directives - http://httpd.apache.org/docs/2.2/mod/mpm_common.html#chrootdir
Meaning it does not have to be compliled and installed.  You just have to declare the ChrootDir directive in the httpd.conf
&lt;pre&gt;ChrootDir /path_to_chroot_jail&lt;/pre&gt;
Still comes with all the normal chroot pains though.</description> <content:encoded><![CDATA[<p>Good howto</p><p>Just an update that you may want to mention at the start of this post.  As of apache 2.2.10 chroot is now included in the Apache MPM Common Directives &#8211; <a
href="http://httpd.apache.org/docs/2.2/mod/mpm_common.html#chrootdir" rel="nofollow">http://httpd.apache.org/docs/2.2/mod/mpm_common.html#chrootdir</a></p><p>Meaning it does not have to be compliled and installed.  You just have to declare the ChrootDir directive in the httpd.conf</p><pre>ChrootDir /path_to_chroot_jail</pre><p>Still comes with all the normal chroot pains though.</p> ]]></content:encoded> </item> <item><title>By: Richard</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-170376</link> <dc:creator>Richard</dc:creator> <pubDate>Tue, 29 Mar 2011 19:48:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-170376</guid> <description>Thanks Vivek,
Everything seems to work fine, am using CentOS 5.5 Finnal with Webmin, as am newbie with chrooting apache here but i have 1 simple question, how could we now add websites under webmin after this chroot apache completely works, and does this thread works fine with mySQL databases after chrooting ?
Thanks a bunch!
no it dos not i just have this problem now. and it kinda sucks.</description> <content:encoded><![CDATA[<p>Thanks Vivek,</p><p>Everything seems to work fine, am using CentOS 5.5 Finnal with Webmin, as am newbie with chrooting apache here but i have 1 simple question, how could we now add websites under webmin after this chroot apache completely works, and does this thread works fine with mySQL databases after chrooting ?</p><p>Thanks a bunch!</p><p>no it dos not i just have this problem now. and it kinda sucks.</p> ]]></content:encoded> </item> <item><title>By: j0</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-170330</link> <dc:creator>j0</dc:creator> <pubDate>Sat, 26 Mar 2011 22:09:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-170330</guid> <description>Thanks Vivek,
Everything seems to work fine, am using CentOS 5.5 Finnal with Webmin, as am newbie with chrooting apache here but i have 1 simple question, how could we now add websites under webmin after this chroot apache completely works, and does this thread works fine with mySQL databases after chrooting ?
Thanks a bunch!</description> <content:encoded><![CDATA[<p>Thanks Vivek,</p><p>Everything seems to work fine, am using CentOS 5.5 Finnal with Webmin, as am newbie with chrooting apache here but i have 1 simple question, how could we now add websites under webmin after this chroot apache completely works, and does this thread works fine with mySQL databases after chrooting ?</p><p>Thanks a bunch!</p> ]]></content:encoded> </item> <item><title>By: Florian</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-169974</link> <dc:creator>Florian</dc:creator> <pubDate>Thu, 17 Mar 2011 14:01:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-169974</guid> <description>Hi there, i followed your tutorial, but the apache won&#039;t start up. error log says:
[notice] mod_chroot: changed root to /httpjail.
[emerg] (2) No such file or directory: mod_fcgid: Can&#039;t create share memory for size %zu byte
Any ideas how to fix this?</description> <content:encoded><![CDATA[<p>Hi there, i followed your tutorial, but the apache won&#8217;t start up. error log says:</p><p>[notice] mod_chroot: changed root to /httpjail.<br
/> [emerg] (2) No such file or directory: mod_fcgid: Can&#8217;t create share memory for size %zu byte</p><p>Any ideas how to fix this?</p> ]]></content:encoded> </item> <item><title>By: John</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-168396</link> <dc:creator>John</dc:creator> <pubDate>Fri, 21 Jan 2011 08:03:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-168396</guid> <description>I do not understand the purpose of this tutorial. What is the security benefit to disable SELinux that runs Apache in isolated sandbox to create a weak [Linux chroot is not as strong as FreeBSD one; there are several techniques known to break out of it] chrooted environment?</description> <content:encoded><![CDATA[<p>I do not understand the purpose of this tutorial. What is the security benefit to disable SELinux that runs Apache in isolated sandbox to create a weak [Linux chroot is not as strong as FreeBSD one; there are several techniques known to break out of it] chrooted environment?</p> ]]></content:encoded> </item> <item><title>By: pron</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-159179</link> <dc:creator>pron</dc:creator> <pubDate>Wed, 25 Aug 2010 21:58:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-159179</guid> <description>there is some issue, and it killing me...
on chrooted fedora 13, using php&#039;s 5.3.3 function date, getting the following error:
Warning: date(): It is not safe to rely on the system&#039;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#039;UTC&#039; for &#039;GMT/0.0/no DST&#039; instead in /var/www/html/index.php on line 6 Fatal error: date(): Timezone database is corrupt - this should *never* happen! in /var/www/html/index.php on line 6
if i have (or not) defined date.timezone, it ALWAYS returns same error.
if apache is not chrooted, it works fine.
please, please, please, please help..........</description> <content:encoded><![CDATA[<p>there is some issue, and it killing me&#8230;</p><p>on chrooted fedora 13, using php&#8217;s 5.3.3 function date, getting the following error:</p><p>Warning: date(): It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#8216;UTC&#8217; for &#8216;GMT/0.0/no DST&#8217; instead in /var/www/html/index.php on line 6 Fatal error: date(): Timezone database is corrupt &#8211; this should *never* happen! in /var/www/html/index.php on line 6</p><p>if i have (or not) defined date.timezone, it ALWAYS returns same error.</p><p>if apache is not chrooted, it works fine.</p><p>please, please, please, please help&#8230;&#8230;&#8230;.</p> ]]></content:encoded> </item> <item><title>By: adhoy</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-153840</link> <dc:creator>adhoy</dc:creator> <pubDate>Sun, 21 Feb 2010 23:49:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-153840</guid> <description>adhoy  - install apache development
yum install httpd-devel</description> <content:encoded><![CDATA[<p>adhoy  &#8211; install apache development</p><p>yum install httpd-devel</p> ]]></content:encoded> </item> <item><title>By: Jeremy</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-150388</link> <dc:creator>Jeremy</dc:creator> <pubDate>Thu, 27 Aug 2009 15:09:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-150388</guid> <description>I anticipated wanting to jailroot my apache server but would like to contain it all in one area of an LVM volume, the moint point being:
/chroot
I have created:
/chroot/httpdjail/
But wanted to put other servers folders in their like the area for ftp access (not the actual server just to make it as secure as humanly possible), is this the best way?
Just wanted to have a sort of directory that had:
/chroot/httpdjail/
/chroot/ftpjail/
etc
Is this a wise approach or would I have to go for:
/httpdjail/
/ftpjail etc?
Just seems logical to me to have all jailed services in one mount point.
Any advice given would be brilliant thanks.
Jeremy.</description> <content:encoded><![CDATA[<p>I anticipated wanting to jailroot my apache server but would like to contain it all in one area of an LVM volume, the moint point being:</p><p>/chroot</p><p>I have created:</p><p>/chroot/httpdjail/</p><p>But wanted to put other servers folders in their like the area for ftp access (not the actual server just to make it as secure as humanly possible), is this the best way?</p><p>Just wanted to have a sort of directory that had:</p><p>/chroot/httpdjail/<br
/> /chroot/ftpjail/<br
/> etc</p><p>Is this a wise approach or would I have to go for:</p><p>/httpdjail/<br
/> /ftpjail etc?</p><p>Just seems logical to me to have all jailed services in one mount point.</p><p>Any advice given would be brilliant thanks.</p><p>Jeremy.</p> ]]></content:encoded> </item> <item><title>By: ben</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-148328</link> <dc:creator>ben</dc:creator> <pubDate>Mon, 27 Apr 2009 08:48:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-148328</guid> <description>doing so http, mysql, php work fine but, perl script will not run.
log file show
(2)No such file or directory: exec of &#039;/var/www/cgi-bin/test.cgi&#039; failed
Premature end of script headers: test.cgi
I guess httpdjail needs /usr/lib/perl5 into it
Please advice.</description> <content:encoded><![CDATA[<p>doing so http, mysql, php work fine but, perl script will not run.<br
/> log file show<br
/> (2)No such file or directory: exec of &#8216;/var/www/cgi-bin/test.cgi&#8217; failed<br
/> Premature end of script headers: test.cgi<br
/> I guess httpdjail needs /usr/lib/perl5 into it<br
/> Please advice.</p> ]]></content:encoded> </item> <item><title>By: Green</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-148182</link> <dc:creator>Green</dc:creator> <pubDate>Tue, 21 Apr 2009 05:38:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-148182</guid> <description>Hello guys,
I also received the following errors in the apache error logs and it happened two times causing apache to fail
[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#039;t grab the accept mutex
[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#039;t grab the accept mutex
[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#039;t grab the accept mutex
[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#039;t grab the accept mutex
[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#039;t grab the accept mutex
[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#039;t grab the accept mutex
[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#039;t grab the accept mutex
[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#039;t grab the accept mutex
[Mon Apr 20 00:20:02 2009] [alert] Child 13096 returned a Fatal error...\nApache is exiting!
exclog: signal received 15
While digging through some forums i noticed the cause can probably due to extra swap alloted. Can someone throw some light on it?</description> <content:encoded><![CDATA[<p>Hello guys,</p><p>I also received the following errors in the apache error logs and it happened two times causing apache to fail</p><p>[Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#8217;t grab the accept mutex<br
/> [Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#8217;t grab the accept mutex<br
/> [Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#8217;t grab the accept mutex<br
/> [Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#8217;t grab the accept mutex<br
/> [Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#8217;t grab the accept mutex<br
/> [Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#8217;t grab the accept mutex<br
/> [Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#8217;t grab the accept mutex<br
/> [Mon Apr 20 00:20:02 2009] [emerg] (43)Identifier removed: couldn&#8217;t grab the accept mutex<br
/> [Mon Apr 20 00:20:02 2009] [alert] Child 13096 returned a Fatal error&#8230;\nApache is exiting!<br
/> exclog: signal received 15</p><p>While digging through some forums i noticed the cause can probably due to extra swap alloted. Can someone throw some light on it?</p> ]]></content:encoded> </item> <item><title>By: Green</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-148181</link> <dc:creator>Green</dc:creator> <pubDate>Tue, 21 Apr 2009 05:35:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-148181</guid> <description>Hello soumya,
well what errors are u getting while creating a directory using mkdir?</description> <content:encoded><![CDATA[<p>Hello soumya,<br
/> well what errors are u getting while creating a directory using mkdir?</p> ]]></content:encoded> </item> <item><title>By: sowmya</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-148065</link> <dc:creator>sowmya</dc:creator> <pubDate>Thu, 09 Apr 2009 12:26:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-148065</guid> <description>hello sir actually i want to create a directory in linux by using command line  i created a directory by using mkdir but i am unable to create a directory in the name red Hat if any one knows plz help me waiting for your answers plz kindly reply me</description> <content:encoded><![CDATA[<p>hello sir actually i want to create a directory in linux by using command line  i created a directory by using mkdir but i am unable to create a directory in the name red Hat if any one knows plz help me waiting for your answers plz kindly reply me</p> ]]></content:encoded> </item> <item><title>By: Daniel</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-146730</link> <dc:creator>Daniel</dc:creator> <pubDate>Fri, 16 Jan 2009 09:11:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-146730</guid> <description>Hi there, i&#039;ve testet this with CentOS 5, looks like it works but....
in my vhost.conf:
DocumentRoot  /home/httpd/.sklep/http points into the httpdjailroot/home....
but
ErrorLog point into the main / not into the httpjail ?????</description> <content:encoded><![CDATA[<p>Hi there, i&#8217;ve testet this with CentOS 5, looks like it works but&#8230;.</p><p> in my vhost.conf:</p><p>DocumentRoot  /home/httpd/.sklep/http points into the httpdjailroot/home&#8230;.<br
/> but<br
/> ErrorLog point into the main / not into the httpjail ?????</p> ]]></content:encoded> </item> <item><title>By: hanji</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-146681</link> <dc:creator>hanji</dc:creator> <pubDate>Wed, 14 Jan 2009 02:34:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-146681</guid> <description>Hello
I have it figured out. You cannot use mod_chroot with apache-2.2.10. Apache-2.2.10 has built in chroot handling now. All you need to do is provide a ChrootDir variable in httpd.conf. The problem is that mod_chroot sets that value as well, I think it was trying to do a &quot;double&quot; chroot. Removing the -D chroot flag from apache startup options and configuring the variable got the server to start, and I verified that the chroot jail was working.
hanji</description> <content:encoded><![CDATA[<p>Hello</p><p>I have it figured out. You cannot use mod_chroot with apache-2.2.10. Apache-2.2.10 has built in chroot handling now. All you need to do is provide a ChrootDir variable in httpd.conf. The problem is that mod_chroot sets that value as well, I think it was trying to do a &#8220;double&#8221; chroot. Removing the -D chroot flag from apache startup options and configuring the variable got the server to start, and I verified that the chroot jail was working.</p><p>hanji</p> ]]></content:encoded> </item> <item><title>By: hanji</title><link>http://www.cyberciti.biz/tips/chroot-apache-under-rhel-fedora-centos-linux.html#comment-146655</link> <dc:creator>hanji</dc:creator> <pubDate>Sun, 11 Jan 2009 15:53:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=4042#comment-146655</guid> <description>Hello Vivek
I do not have SELInux enabled. I agree, it seems like there is a problem with apache-2.2.10 and above with mod_chroot.
hanji</description> <content:encoded><![CDATA[<p>Hello Vivek</p><p>I do not have SELInux enabled. I agree, it seems like there is a problem with apache-2.2.10 and above with mod_chroot.</p><p>hanji</p> ]]></content:encoded> </item> </channel> </rss>
