Forum Moderators: phranque

Message Too Old, No Replies

Server-generated indexes

how do they work?

         

simplys

12:55 am on Oct 17, 2004 (gmt 0)

10+ Year Member



Hello all.

I'm talking about indexes generated by server, when there is no index file in a particular directory, that display the contents of that directory in a normal or fancy way.

Where can I find the code that does this on the server, in what language is it written and, can modify it to suit my needs?
If you could add a few words about how the server create those indexes, that would be perfect

thanks

encyclo

2:23 am on Oct 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com], simplys.

The index pages produced by Apache are built using mod_autoindex [httpd.apache.org].

In order to alter their appearance, you can use the IndexOptions directive, and you also can specify a header and readme file (which appear above and below the index respectively, and apply styles within the header file, for example with CSS.