Date: Tue, 13 Mar 2001 07:31:10 -0600 From: Mike Meyer <mwm@mired.org> To: "Dead Line" <dead_line@hotmail.com> Cc: questions@freebsd.org Subject: Re: Apache is taking the chmod. Message-ID: <15022.8478.630762.649497@guru.mired.org> In-Reply-To: <105503959@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Dead Line <dead_line@hotmail.com> types: > Hello, > > Please, > Can you give me an Example? > I tried for the past 4 days, but i faild. > How do we give the public_html directry the read mode for httpd > only? > > when i gave it chmod 777 or 755 it still wont work because its effected > by the group mode which is 750. The mode on everydirectory in the path needs to be 750 (if not more open). They all need to be owned by the same group. You need to set the group that apache runs as to be that group in httpd.conf. <mike > can you support? > Thank you > > > >You need to open up permissions in those public_html directories for > >httpd. You need at least group read on the files. > > > >Dead Line wrote: > > > > > > Hello All, > > > > > > Iam on FreeBSD 4.2-Release. > > > > > > There is Apache-fp installed in my box. > > > > > > I have a group /home/shells > > > This group is in chmod 750 (So no one from out side this group > > > can enter this group, only group members) > > > and each user in this group is in chmod 700 > > > (No other than the owner can enter to his home directry) > > > > > > This is fine, > > > The problem is, when I create a directry public_html > > > inside thier home shell the apache is taking the group > > > and the user chmod so when we try to retrive the URL > > > it will say " Access denied, you donot have permission" > > > > > > what to do please? > > > could someone help? > > > > > > Thank you. > > > Marwan. > > > > >_________________________________________________________________________ > > > Get Your Private, Free E-mail from MSN Hotmail at > >http://www.hotmail.com. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15022.8478.630762.649497>