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  Easy Install and Configure Certbot Lets Encrypt Apache on 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.

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

Virtualbox Change Storage Size

Changing the storage size of a virtual machine in VirtualBox involves a few steps. Here’s a general guide. Backup your Virtual Machine (VM) Before...
habibzain
35 sec read

Easy Setup Logrotate Nginx Ubuntu

Log rotation is an important aspect of managing log files on a Linux system, including those generated by Nginx. Logrotate is a utility that...
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