Re: http listing

richard lucassen <[email protected]> Sun, 27 Mar 2005 12:47:17 +0200
Newsgroups gmane.comp.djb.publicfile
Organization CAM S&C
Message-ID <[email protected]>
On Sat, 26 Mar 2005 21:41:46 -0500 (EST)
Jeff King <[email protected]> wrote:

> On Sat, 26 Mar 2005, richard lucassen wrote:
> 
> > Someone made a (perl?)script a few years ago to create a dirlisting
> > into an index.html. Does someone have a link for me?
> 
> There's one by George Georgalis here:
>    http://galis.org/scripts/html/mkindex.html.sh
> 
> I've also written a similar script in perl, which I've included below.
> It was written many years ago and I don't use it anymore, but I
> believe it to be relatively bug-free. :)

Looks nice. The only thing is that the script has to be run from the
site's root directory, otherwise the "parent directory" always points
to the http://site/ directory. I'll have to review the dir structure of
the site (it contains some "hidden" directories), but I think the script
can be useful for me.

Thnx!

R.

-- 
___________________________________________________________________
Mac OS X proves that it's easier to make UNIX pretty than it is to
make Windows secure.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+