Example results of this script: http://www.isrl.uiuc.edu/~openkey/imageInfo/index.cgi index.cgi ------------------------------ - dynamically reads in a directory - prints out a list of the files, - the bytes of each file. Written by Karen Medina - kmedina@uiuc.edu - October 1, 2003 Why is better than the default? ------------------------------ - counts the files - long file names can be seen entirely (they are not cut off) How to put one in a directory: ------------------------------ The original script is /home/openkey/bin/index.cgi $ cp /home/openkey/bin/index.cgi your_new_directory NOTE: I chose not to put this script inside an /html/ directory, because I am not sure, but I think these directories are currently processed by scripts! So this script would be xsl-ed or indexed if it were in the directory itself. Edit ------------------------------ Then edit just a few things in the index.cgi with your favorite editor. $ emacs index.cgi # -------- Change these two scalars (variables) ---------- # my $page_title = "Openkey\'s list of webpages about the images"; my $directory = '/home/openkey/public_html/imageInfo/xml/'; # ------- That should be all you need to change --------- # That should be all you need to do! -karen medina Troubleshooting: permissions should be set to 775 for it to be viewed from the web.