creating htmls from a directory tree?

Bill Moran wmoran at
Wed Feb 10 15:05:39 UTC 2010

In response to Anton Shterenlikht <mexas at>:

> 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

More information about the freebsd-questions mailing list