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 a virtual Domain?

A virtual domain is the base URL of the domain name. Examples include yourdomain.com, and...

Why can I not ping my domain?

For security purposes we have closed off the ICMP port which is used for ping.

Disable error_log via htaccess

Prevent public display of PHP errors via htaccess# supress php errorsphp_flag...

Error 401 Unauthorized

This can occur when a web page requires authorization or a login to view the contents. If none...

Why do I get emails for cron jobs?

This is the default. If you would like to disable receiving emails when a cron job runs append...