From owner-freebsd-questions@FreeBSD.ORG Wed Feb 10 15:54:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07D64106566B for ; Wed, 10 Feb 2010 15:54:39 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id AD65D8FC12 for ; Wed, 10 Feb 2010 15:54:38 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 10 Feb 2010 10:54:37 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id QMK78557; Wed, 10 Feb 2010 10:54:37 -0500 (EST) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 10 Feb 2010 10:54:34 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19314.54969.373080.869764@jerusalem.litteratus.org> Date: Wed, 10 Feb 2010 10:54:33 -0500 To: Anton Shterenlikht In-Reply-To: <20100210151102.GD58179@mech-cluster241.men.bris.ac.uk> References: <20100210150330.GC58179@mech-cluster241.men.bris.ac.uk> <20100210100536.150614a1.wmoran@potentialtech.com> <20100210151102.GD58179@mech-cluster241.men.bris.ac.uk> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: Bill Moran , freebsd-questions@freebsd.org Subject: Re: creating htmls from a directory tree? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 15:54:39 -0000 Anton Shterenlikht writes: > > > I'd like to upload a directory structure to a web > > > server. I'd like to create in each subdirectory > > > an index.html with a simple list of files in this > > > directory for a simple browsing. > > > > > > This sounds like a perl or shell script, but > > > I was wondering if there is someting like > > > this already available from ports. I couldn't > > > find anything suitable. > > > > You could just turn on Apache's built-in directory listing capability and > > Apache will create those files on-demand. > > I see.. I need to talk to the web server guys then. The magic phrase is: IndexOptions FancyIndexing This can also be put in .htaccess; whether or not that file is honored is up to the server. Robert Huff