logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Long file names in directory
Author
stu



Joined: 23 Nov 2005
Posts: 3
Location: Ontario, Canada

PostPosted: Wed 23 Nov '05 5:10    Post subject: Long file names in directory Reply with quote

Hello, I have my server up and running fine, and i have some music files that my band made in a directory. They display in the standard Index of (Directory Name) page. My only problem is that the song names are quite long, and you cant always see the full name because the file names are cut off after a certain length. Does anyone know how to make it so that the file names can be displayed longer?
Thanks,
Jeremy.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Wed 23 Nov '05 13:46    Post subject: Reply with quote

Hi,

You can use Namwidth, for example:


<Directory "x:\xxx\xxx">
Options Indexes FollowSymLinks
IndexOptions FancyIndexing VersionSort NameWidth=*
HeaderName /header.html
ReadmeName /footer.html
</Directory>

NameWidth=n fixes the column width to n bytes wide.
NameWidth=* grows the column to the necessary width.


Steffen
Back to top


Reply to topic   Topic: Long file names in directory View previous topic :: View next topic
Post new topic   Forum Index -> Apache