Full file name in file directory on web browsers


#1

When I view files of my domain through a web browser (domain.com/pics), is there a way to configure it so it doesn’t cut off if it has too many letters? Dreamhost is the first host that I see does this. Don’t know what this area is called, so it’s hard to search for an answer. Thanks.


#2

[quote]When I view files of my domain through a web browser (domain.com/pics), is there a way to configure it so it doesn’t cut off if it has too many letters? Dreamhost is the first host that I see does this. Don’t know what this area is called, so it’s hard to search for an answer. Thanks.
[/quote]
It’s called an automatic directory index. The table view is a fancy directory index. A plain directory index is just an unordered list.

The documentation on customizing the fancy directory index is in the documentation for the Apache HTTP Server module called mod_autoindex:

http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html#indexoptions

:cool: [color=#6600CC]Atropos[/color] | openvein.org


#3

Just in case you have problems working out exactly what you need from the Apache documentation, adding the following line to your .htaccess file should achieve what you want…

IndexOptions +NameWidth=*

Mark


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


#4

Thank you all.