3

Using the old apache:

# grep -i httpd /etc/rc.conf 
httpd_flags="-DSSL"
# grep -i nginx /etc/rc.conf 
nginx_flags=NO
# 

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

3

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=*
</IfModule>

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

2

You must log in to answer this question.

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