From owner-freebsd-questions@FreeBSD.ORG Wed Feb 10 15:05: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 9D452106566C for ; Wed, 10 Feb 2010 15:05:39 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 6D62C8FC16 for ; Wed, 10 Feb 2010 15:05:39 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id B9501F7419; Wed, 10 Feb 2010 10:05:37 -0500 (EST) Date: Wed, 10 Feb 2010 10:05:36 -0500 From: Bill Moran To: Anton Shterenlikht Message-Id: <20100210100536.150614a1.wmoran@potentialtech.com> In-Reply-To: <20100210150330.GC58179@mech-cluster241.men.bris.ac.uk> References: <20100210150330.GC58179@mech-cluster241.men.bris.ac.uk> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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:05:39 -0000 In response to Anton Shterenlikht : > 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. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/