FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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)
Related topics
How to create a dynamic PHP website.
Some basic ftp info needed!! Frontpage help
want to build an ecommerce site
Help with Website
I Need some good ideas for my home page.
I need help setting up a default index file?
Using TinyMCE with ASP.NET
What about a gamemaking forum?
What file extension should I use ?
General .htaccess tutorial.
Free Links Directory - submit your site or favorite site
change directory listing domain?
Referencing a php file
how to change my index.html file with another file
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-2011 Frihost, forums powered by phpBB.