Directory listing in browser without an index page


Sometimes I want a directory listing to show up in a browser window instead of using an index page, eg,

The problem is the the name column width is too narrow. Is there any way to change this column width without creating an .html that would apply to all such directory listings?




Yes, create a .htaccess file with the following line, or add the line to an existing .htaccess file.

IndexOptions NameWidth=xx

Where xx is the width you desire for the name column. Use * for an auto-sizing name column.

If you place this file in the root of your domain, the setting will apply to all sub-directories.

For more index options, see the links below;




Save [color=#CC0000]$50[/color] on DreamHost hosting using promo code [color=#CC0000]SAVEMONEY[/color] ( Click for promo code details )