Using the old apache:

# grep -i httpd /etc/rc.conf 
# grep -i nginx /etc/rc.conf 

How can I modify the custom "Index of" page?

enter image description here

Question: The only problem with the default "Index of" page is that the "NAME" column has way too short width. How can I increase it?

1 Answer 1


You can set options in your .htaccess file. For example, I have the following set for a directory that contains long file names:

<IfModule mod_autoindex.c>
IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=*

with the NameWidthe=* option being the one you're interested in. Check out this article for all sorts of tips on .htaccess customization.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .