Forum Moderators: phranque

Message Too Old, No Replies

truncated file names

Apache truncating file names on internal dynamic site

         

Dragonrest

7:38 pm on Jan 18, 2006 (gmt 0)

10+ Year Member



Hello,

This is my first post since joining.

I recently started working at a new location and here we have an internal site serving up dynamic content from an Apache server. Basically, it is used to make all the builds and other useful files available to the programmers for their work. However, the file names as displayed on the pages are truncated when consisting of more than 20 characters. Is there some way to configure Apache to allow the full file names to be displayed on the pages our users are accessing? Any and all help in this would be greatly appreciated.

jatar_k

5:34 pm on Jan 19, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Dragonrest,

I found a few mentions of this happening with apache on windows, windows likes truncating but I couldn't find solutions yet to the problem.

Have you found anything that mentions anything that gave you ideas?

Dragonrest

1:35 pm on Jan 20, 2006 (gmt 0)

10+ Year Member



Thank you for the welcome and the reply!

In this case, Windows isn't in play (I held my reply until i could check). I have been scouring around sources of info and the only thing that I have found that may possibly be applicable has to do with the mod_autoindex and FancyIndexing which has, apparently been deprecated, and the IndexOptions directive that has replaced it but the gist of it is that the default is a max of 23 characters long but you can use IndexOptions SuppressSize to add seven more characters and the IndexOptions SuppressLastModified to add another 19 characters to make a total of 49 characters. Now, am I on the completely wrong track or does any of this sound plausible?

Dragonrest

3:47 pm on Jan 20, 2006 (gmt 0)

10+ Year Member



Hey... I think this might be it:

Module mod_autoindex

IndexOptions

NameWidth=*

(The NameWidth keyword allows you to specify the width of the filename column in bytes.
NameWidth=* grows the column to the necessary width.)

I'll post whether it worked or not...

Dragonrest

7:46 pm on Jan 20, 2006 (gmt 0)

10+ Year Member



It worked!

jatar_k

8:42 pm on Jan 20, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



good catch Dragonrest