Olaf
Olaf

Reputation: 10247

Is there a way to beautify the styles of a webserver generated directory listing?

Now and then we need to show the contents of a webserver directory (mostly IIS, sometimes Apache). Problem is, it looks ugly (arguably).

Of course we could use a .NET (or php) script that reproduces the functionality.

But is there a direct way to influence the look of the listing or change the style sheet somehow? Can I add a CSS file?

Upvotes: 3

Views: 1757

Answers (2)

Uwe Keim
Uwe Keim

Reputation: 40736

Seems that in IIS 7+ you can use your own module to define the look and feel.

When searching Google for the DirectoryListingModule you find nice gems like the Image Gallery Directory Listing Module.

Upvotes: 2

Ernest Friedman-Hill
Ernest Friedman-Hill

Reputation: 81704

In apache, you just add stuff to an .htaccess file. Here is a tutorial.

Upvotes: 2

Related Questions