Show longer file names in directory/folder index

If you've ever wanted to show longer file names in your directory listing just create or edit an .htaccess in that folder.

In the file named .htaccess add the following code.

This will show longer file names without being cut off.

Options +Indexes
<IfModule mod_autoindex.c>
  IndexOptions NameWidth=*
</ifModule>




  • 4 Users Found This Useful

Was this answer helpful?

Related Articles

What is the location of curl?

Curl is located @ /usr/bin/curl

https:// with Weebly

To enable and force https:// with your Weebly website, be sure to go into your editor area,...

Heartbleed Vulnerablity, Risk and Fix

The Heartbleed bug (http://en.wikipedia.org/wiki/Heartbleed_bug) is a serious vulnerability which...

Enable Mod Rewrite

Create an .htaccess file with the following contents and upload it to your public_html directory....

I can not move out of the / directory, why not?

For security reasons, you cannot move out of the root folder of your own domain.