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>

Bookmark this!

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • del.icio.us
  • Digg
  • Fark
  • Furl
  • MisterWong
  • NewsVine
  • Reddit
  • Spurl
  • StumbleUpon
  • TailRank
  • Technorati

Submit your comment

vision22.net

Copyright © 2007