From owner-freebsd-questions Sun Jan 23 4:39: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gw.Adl.USSR.net (digita1.lnk.telstra.net [139.130.137.85]) by hub.freebsd.org (Postfix) with ESMTP id 0522914ECC for ; Sun, 23 Jan 2000 04:38:48 -0800 (PST) (envelope-from smokey@adl.ussr.net) Received: from austinpowers (Smokey.Adl.USSR.net [203.38.181.2]) by gw.Adl.USSR.net (8.9.3/8.9.3) with SMTP id XAA09534; Sun, 23 Jan 2000 23:08:24 +1030 (CST) Reply-To: From: "James" To: "David Fuchs" , "Freebsd Questions" Subject: RE: help with apache, and public_html directory Date: Sun, 23 Jan 2000 23:07:56 +1030 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <001c01bf6566$b0909c40$0201a8c0@uniserve.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you very very muchly for your help with this :-) - works perfectly now :-))) regards james -> -----Original Message----- -> From: owner-freebsd-questions@FreeBSD.ORG -> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of David Fuchs -> Sent: Sunday, January 23, 2000 4:27 PM -> To: Freebsd Questions -> Subject: Re: help with apache, and public_html directory -> -> -> In your httpd.conf file, you should see something like this: -> -> --------- -> # UserDir: The name of the directory which is appended onto a user's home -> # directory if a ~user request is received. -> # -> UserDir public_html -> --------- -> -> If you want to allow users to have their own pages, just have them create -> the directory "public_html" in their home directory. To view -> the content on -> the net, simply have them open a browser and set their address to -> http://your.domain-or-ip.here/~username . Make sure you use -> the ~ symbol -> in before the username, or it won't work. -> -> You can change the UserDir setting in httpd.conf to whatever you -> want, and -> then have your users create a subdirectory by that name in their home -> directory. You will get forbidden messages and the like if you -> don't have -> an index.html file in the directory or if the permissions are wrong, -> rights/permissions MUST be executable (not necessarily readable) by all. -> Example "chmod 755" will work, but so will "chmod 711". I use -> "chmod 711" -> to set permissions so that users can snoop in each other's directories. -> (Please don't argue about this people... I know some of you are probably -> gettin' that warm and fuzzy "I think what you're doing is WRONG" feeling -> already...) hahaha j/k =) -> -> Any more questions? Need more clarification? Send me a note -> and I'll get -> back to you. -> -> -David Fuchs -> -> -> ----- Original Message ----- -> From: James -> To: Freebsd Questions -> Sent: Saturday, January 22, 2000 9:17 PM -> Subject: help with apache, and public_html directory -> -> -> > Howdy, -> > -> > I'm new to bsd, and have just muddled through the installation -> of apache -> on -> > my machine here at home (its a 2.2.6 build, mostly set up by a friend), -> and -> > I would like to enable friends to view web pages on my machine - but I -> have -> > no idea how to set the directories so that they can be viewed.... -> > -> > Can someone tell me how to do this? - what are the default -> permissions to -> > allow something to be viewed? - do I need a . file of some sort so that -> > people can browse it or something? :-) -> > -> > Every attempt I've had so far has come across some form of 'you do not -> have -> > permission' message..... -> > -> > Any and all help would be gratefully recieved :-) -> > -> > regards -> > -> > james -> > -> > -> > -> > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message