FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Change Directory Index Layout

 


Animal
Ok, this isn't strictly a "Web Hosting Support" question, but...

Is it possible to edit the layout of a directory index? I've used the "Options Indexes" command in my .htaccess file so that the contents of the directory are shown like in the following image:


I have to use some relatively long filenames since the file releases I'm using include date of update so that the "current" file is apparent. Is it possible to make the "column width" in the index larger so that the long filenames are shown and not truncated as they are in the image above?

Thanks for any input
MrBlueSky
You can set the width of the names by

Code:

IndexOptions NameWidth=80


where 80 is the width in characters in this example.

When you use

Code:

IndexOptions NameWidth=*


the width is automatically set to the length of the longest filename.
Animal
That worked perfectly - thanks very much! Very Happy

(I guess this question is answered so I can -close- my own topic)
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.