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?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
gasko peter
  • 5,434
  • 22
  • 83
  • 145

1 Answers1

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.

MattDMo
  • 2,314
  • 3
  • 19
  • 28