Skip site navigation (1)Skip section navigation (2)
Date:      08 Mar 2001 08:34:19 -0600
From:      Tim Ayers <tayers@bridge.com>
To:        questions@FreeBSD.ORG
Subject:   Re: apache
Message-ID:  <wva0mis4.fsf@tim.bridge.com>
In-Reply-To: Rick Knebel's message of "Thu, 8 Mar 2001 08:46:31 -0500"
References:  <p05001900b6cd3cc62ec8@[192.168.1.2]>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "R" == Rick Knebel <rknebel@uplink.net> writes:
R> I am tryng to set up a web page in the home directory. i put a folder 
R> in my home directory labeled public_html and put my web pages in it, 
R> It keeps telling me I do not have permission to access it when i try 
R> to access it with netscape.
R> What sort of permissions do i need in this directory?

Assuming the webserver is running as "nobody", your ~/public_html
directory needs to have read and execute permission for "others"
(chmod o+rx ~/public_html) and all files in ~/public_html need read
permission for "others" (chmod -R o+r ~/public_html).

HTH and
Hope you have a very nice day, :-)
Tim Ayers (tayers@bridge.com)



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?wva0mis4.fsf>