BreadCrumbs: Apache

Apache

From Luke Jackson

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:58, 28 December 2006 (edit)
Ljackson (Talk | contribs)

← Previous diff
Revision as of 19:59, 28 December 2006 (edit)
Ljackson (Talk | contribs)
(How do I change the length of the URLs generated by mod_autoindex?)
Next diff →
Line 4: Line 4:
The '''NameWidth''' keyword allows you to specify the width of the filename column in bytes. The '''NameWidth''' keyword allows you to specify the width of the filename column in bytes.
-'''-NameWidth''' (or unset) allows mod_autoindex to calculate the best width.+ 
-'''NameWidth=n''' fixes the column width to n bytes wide.+* '''-NameWidth''' (or unset) allows mod_autoindex to calculate the best width.
-'''NameWidth=*''' grows the column to the necessary width.+* '''NameWidth=n''' fixes the column width to n bytes wide.
 +* '''NameWidth=*''' grows the column to the necessary width.
Below is an example on how to edit your httpd.conf file to enable: Below is an example on how to edit your httpd.conf file to enable:

Revision as of 19:59, 28 December 2006

FAQs

How do I change the length of the URLs generated by mod_autoindex?

The NameWidth keyword allows you to specify the width of the filename column in bytes.

  • -NameWidth (or unset) allows mod_autoindex to calculate the best width.
  • NameWidth=n fixes the column width to n bytes wide.
  • NameWidth=* grows the column to the necessary width.

Below is an example on how to edit your httpd.conf file to enable:

# IndexOptions: Controls the appearance of server-generated directory
# listings.
#
IndexOptions FancyIndexing VersionSort NameWidth=*
Personal tools