Kazik Malenczak wrote:
i have a big hard drive on my debian box where i store mainly software and a few tunes. what i would like to do is create an index.html file for each directory and subdirectory. What I don´t have is the scripting skills to do this. I reckon theres probably a Perl script (I´d like to do it with Perl so I can learn a bit about it) to do this somewhere out there already. Can someone point me in the right direction or, even better donate some time to holding my hand as I learn to do it myself (which might take a while as the last time I did any programming was way back in the late 80s with Pascal and Basic) ;s

just in case you want to make the directories available via apache, you can achieve this with mod_autoindex.

see http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html

this module generates the directory listings on the fly and you dont have to update the static html-files every time you add a file/dir.

br, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to