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?

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.