Forum Moderators: phranque
Automatic directory listing is handled by Apache's mod_autoindex. It has a directive called IndexOptions, and one of the options is NameWidth. More info in the manual [httpd.apache.org].
It depends on your server's settings whether you can set directory listing on a per directory basis, ie in .htaccess.