Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Accessing files outside of chroot

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  dns error while port 80 is OK  
Author Message
unbending

External


Since: Jan 22, 2005
Posts: 5



(Msg. 1) Posted: Sat Jan 22, 2005 6:49 pm
Post subject: Accessing files outside of chroot
Archived from groups: alt>apache>configuration (more info?)

Configuration:
OpenBSD 3.6
Apache 1.3.29 (chrooted in /var/www)
Mailman 2.1.5 (Postfix version)
- install dir (/usr/local/lib/mailman)
- data dir (/var/spool/mailman)

I was trying to setup Mailman to work with Apache. I have had no luck
so far. I've followed the directions for changing the httpd.conf file
according to the Mailman instructions, but I still don't get anything.
I was wondering whether this problem is caused by the chroot. I have a
Directory entry for /usr/local/lib/mailman/cgi-bin and a ScriptAlias as
well, but it's still not working. I've tried creating symbolic links
within the /var/www/htdocs directory (which works fine), but that
doesn't work either.

Is there anything I can do short of having to move everything into
/var/www?

 >> Stay informed about: Accessing files outside of chroot 
Back to top
Login to vote
kalvaronospamt

External


Since: Feb 25, 2004
Posts: 58



(Msg. 2) Posted: Sun Jan 23, 2005 10:35 am
Post subject: Re: Accessing files outside of chroot [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

*** unbending escribió/wrote (22 Jan 2005 18:49:46 -0800):
 > I was wondering whether this problem is caused by the chroot.

If you work in a chrooted environment, it's absolutely impossible to access
any file outside the root (that's the point of it all). That includes
symbolic links. Try hard links (not sure about them) or just copy the files
inside the root.


--
-+ Álvaro G. Vicario - Burgos, Spain
+- <a style='text-decoration: underline;' href="http://www.demogracia.com" target="_blank">http://www.demogracia.com</a> (la web de humor barnizada para la intemperie)
++ Las dudas informáticas recibidas por correo irán directas a la papelera
-+ I'm not a free help desk, please don't e-mail me your questions
--<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Accessing files outside of chroot 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
chroot + phpnuke - Hello I am having a strange problem involving phpnuke and apache. FreeBSD 5.1 Apache 1.3.29 PHPnuke 7.4 (also tried version 5,6,7, and I believe PostNuke did the same thing). I believe the problem to be something I did wrong when installing apache. I....

mod_bandwidth and chroot problem - Hi, I'm running apache 1.3.29 in chroot environnment. Today I tried to use mod_bandwidth but apache doesn't start claiming this: Syntax error on line 96 of /usr/local/apache/conf/httpd.conf: BandWidthDataDir must be a valid directory Apache is started....

chroot apache starting error - hi I am getting the following error while trying to start apache in chroot mode. No such device: apr_proc_detach failed. Pre-configuration failed\n what could be the problem?. thanx deepak -- dpknet..

chroot apache 2.0.52 - httpd: bad user name - hi! my configuration apache 2.0.52 ../configure --prefix=/apache --enable-mods-shared=most --enable-deflate --en able-ssl then make and make install. Directories /chroot/apache/; /chroot/etc; /chroot/dev/ ; /chroot/usr/lib I have copied all librarie...

Need help for accessing ftp directories. - Hi, How apache can access the ftp directories used in proftpd server ? I have the "pub" directory in Proftpd server, how Apache can see it ? Thanks
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]