habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Apache Index Directory Show Full Width

31 sec read

Apache Index Directory Show Full Width

Hi Dude, this is simple trick to solving appearance index apache directory list. The directory list index that running by apache web server show not full file name. It will be very difficult for the user to determine which file to download. Because the filename is truncated, it’s not perfectly legible. Lets solve index directory to show full width.

apache-index-directory-show-full-width
Picture I – apache index directory show full width

The picture 1, show us that filename are not read full.

How to Fix?

Easy fix is modify .htaccess file. If .htaccess file not exist, create first.

Add this line into .htaccess file.

IndexOptions NameWidth=*

Yeah, just one line. And see the result below in Picture II.

apache-index-directory-show-full-width
Picture II – apache-index-directory-show-full-width

That is short article that fix apache index appearance. May be it’s helpful, please feel free to leave a comment if you have any questions and I’ll appreciate it.

See also  Install Apache PHP-FPM Centos 7
habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Centos Failed Update Kernel

Today I did a kernel update on my server with Centos 7 OS. At the end of the update process, I found a kernel...
habibzain
1 min read

Easy Fix Missing mirrorlist http://mirrorlist.centos.org on CentOS 7

When running yum update or command that utilize the yum system, errors similar to the following are produced: If you’re encountering issues with the...
habibzain
1 min read

Easy Create Laravel Project with Composer

Requirement Laravel, a popular PHP framework, is renowned for its elegant syntax and robust features, making it a top choice for web developers. One...
habibzain
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox