Posted by:
c2dan
(---.15-1.cable.virginmedia.com)
You'll want to read up on the Apache documentation for mod_autoindex (this is the module that lists the directory contents).
To change the directory listings layout. Left click the WAMP tray icon and select Apache > httpd.conf
Scroll to the bottom of the file and find this line
Include conf/extra/httpd-autoindex.conf
Remove the # at the start of that line.
Save the httpd.conf. Now to configure autoindex. Open the file named httpd-autoindex.conf, which is located in C:\wamp\bin\apache\Apache2.2.11\conf\extra
To sort your issue Add the following command to the IndexOptions list
NameWidth=*
Example
IndexOptions FancyIndexing HTMLTable VersionSort NameWidth=*
There are more commands available for autoindex here: [
httpd.apache.org]
Dont forget to restart the Apache server whenever you make any change to Apaches configuration.
Edited 1 time(s). Last edit at 10/04/2009 03:59PM by c2dan.