creating htmls from a directory tree?
Robert Huff
roberthuff at rcn.com
Wed Feb 10 15:54:39 UTC 2010
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
More information about the freebsd-questions
mailing list