开发者

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

Now and then we need to s开发者_如何学运维how 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?


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜