From owner-freebsd-questions Tue Apr 6 11:52:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id C5D28155C2 for ; Tue, 6 Apr 1999 11:52:41 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from scientia.demon.co.uk (ident=ben) by scientia.demon.co.uk with local (Exim 2.12 #4) id 10Ua6P-000FMo-00; Tue, 6 Apr 1999 18:57:33 +0100 (envelope-from ben@scientia.demon.co.uk) Date: Tue, 6 Apr 1999 18:57:33 +0100 From: Ben Smithurst To: Ho Seng Yip Cc: FreeBSD Questions Subject: Re: Perl and Apache Message-ID: <19990406185733.A58937@scientia.demon.co.uk> References: <000e01be802c$747e4060$c3a015a5@oasis> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <000e01be802c$747e4060$c3a015a5@oasis> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ho Seng Yip wrote: > I am quite a newbie at Unix and am currently running FreeBSD 3.1, so I hope > someone can help me over here. I have just downloaded 'Perl 5.002' from the > FreeBSD website and it comes in this form 'perl5.tar'. May I know how I will > be able to un-archive the file and install Perl onto my system ? You shouldn't need to download anything, FreeBSD 3.1 has Perl 5.00502 installed by default, I beleive. Try ``perl -v'', see what it says, > I have also installed Apache 1.3.4 from the Cd-Rom, everything works fine, > but I will like to enable user directories. For example, if I have a user > directory, '/home/dan/public_html' and will like a request, > 'http://www.domain.com/~dan' to be able to load the 'index.html' file from > the user's 'public_html' directory. How will I be able to do that ? I have > looked into the 'httpd.conf' file and have uncommented the chunk of lines > that starts with something like '' but it > still does not work as my web browsers tells me that access is forbidden. Do > I have to edit some more things ? Look in the error log. You should have a line like UserDir public_html in one of Apache's configuration files. As long as dan has a directory public_html in his home dir, and it has world execute permission, and contains an index.html file, things should work fine. (To make sure it has world execute permission, do ``chmod a+x ~dan/public_html'' as dan or root.) -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message