Showing full names in apache’s directory listings
- August 4th, 2007
- apache, Snippet-library
By default the apache configuration cuts the filenames to a certain value. The following directive allows the full file name to be shown in the directory listing of a virtual host.
<p>By default the apache configuration cuts the filenames to a certain value. The following directive allows the full file name to be shown in the directory listing of a virtual host.</p> <p>Adding this line to the directory section of your virtual host will allow apache to show the full length filenames in the directory list. Be sure that the option Indexes is also set</p> <code class="prettyprint"> <directory /path/to/your/virtual/host> IndexOptions NameWidth=* </directory> </code>
















Submit your comment