From owner-freebsd-questions Thu Nov 5 05:23:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA10195 for freebsd-questions-outgoing; Thu, 5 Nov 1998 05:23:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from oz.phear.net (slwag1p19.ozemail.com.au [203.108.157.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA10184 for ; Thu, 5 Nov 1998 05:23:45 -0800 (PST) (envelope-from jim@phrantic.phear.net) Received: from localhost (jim@localhost) by oz.phear.net (8.8.8/8.8.8) with ESMTP id AAA03702; Fri, 6 Nov 1998 00:22:25 +1100 (EST) (envelope-from jim@phrantic.phear.net) Date: Fri, 6 Nov 1998 00:22:19 +1100 (EST) From: Jim Mock To: Keith Anderson cc: questions@FreeBSD.ORG Subject: Re: www / cgi / html In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 5 Nov 1998, Keith Anderson wrote: > Hi ALL > > Can some 1 please point me to the right direction. > > I am looking for a cgi script for apache. > > I have created separate web pages for users in a dir that I need to give to my > users via the use of there passwd. > > So I need a way for say, user fred to enter on a www page > 'fred' and his passwd ****(he will have an account on the box) > > and then the web server will serve up /use/local/www/restricted/fred.html > > Any help would be great > > Hi Keith, You should be able to accomplish that with htpasswd and .htaccess files. IIRC, it's in the Apache FAQ. There's also a section on it at http://www.apacheweek.com/. Look in the Features section for User Authentication. Hope this helps, Jim : Jim Mock | [jim@phrantic.phear.net] : : Phear Networks | web: http://www.phear.net/ : : A franchise of Triax, Inc. | ----------------------------- : : Web Site Design & Hosting | FreeBSD: The Power to Serve : : Wagga Wagga, NSW Australia | http://www.freebsd.org/ : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message