[thelist] design "index of"
Sam
sam at sam-i-am.com
Fri Nov 15 10:19:00 CST 2002
what server are you using?
With apache I've told it to use a cgi I wrote that produces a directory
listing with a couple of features I wanted, and gives me more control
over the output, the markup and styling. In directories that want this
treatment I just add this line to my .htaccess
DirectoryIndex /cgi-bin/dirindex.cgi
The nice thing about this is that I can invoke the same cgi in different
contexts - e.g as a server side inlude to embed directory listings in a
page.
The down-side is that I didn't find a way to leverage the existing
directory index handler for getting the various properties of files so
I'm slowly writing and adding those back in myself. But I'm sure I've
just not dug around enough.
My code is a mess right now, so I'll not be distributing it. But this is
to say it can be done.
Apache also lets you define a header and footer file that it will
include at the top/bottom the directory index, for a simpler solution.
Sam
john-paul wrote:
>
> Is there a way to style/design the "web directory index" for a domain?
More information about the thelist
mailing list