LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-23-2012, 01:49 PM   #1
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
Ubuntu 10.04 mod_chroot issues


I have apache2 installed on ubuntu 10.04 and I'm running into issues when I'm trying to chroot the apache process.

Under the PidFile directive you're supposed to place the following directive in your apache2.conf - according to the documentation I read:
Code:
ChrootDir /home/apache
Underneath /home/apache I have cgi-bin, /var, /var/www and /var/run.

When I start the server it won't display any pages and can't connect but the pid file gets put into /home/apache/var/run/

My sites-available/default is as follows:
Code:
DocumentRoot /var/www

Because I have created /var/www underneath /home/apache it should work but to no avail.

Has anyone run into problems with chorrot apache and ubuntu before?

By the way when the "ChrootDir" is commented out apache works fine.

Last edited by bentman78; 02-23-2012 at 01:49 PM. Reason: forgot to add the fact without chroot directive isn't in the apache config file it works fine.
 
  


Reply



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
LXer: Chrooting Apache2 With mod_chroot On Ubuntu 10.04 LXer Syndicated Linux News 0 08-16-2010 12:50 PM
LXer: Chrooting Apache2 With mod_chroot On CentOS 5.4 LXer Syndicated Linux News 0 07-23-2010 09:50 PM
LXer: Chrooting Apache2 With mod_chroot On OpenSUSE 11.2 LXer Syndicated Linux News 0 07-05-2010 10:50 AM
mod_security SecChrootDir mod_chroot super_mouse Linux - Security 1 08-19-2005 07:37 AM
Using mod_chroot with MySQL? MasterC Linux - Security 3 06-12-2005 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:07 AM.

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