Re: auto index in Apache

From: Date: Tue, 19 Jun 2001 22:20:32 +0000
Subject: Re: auto index in Apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54427@lists.php.net to get a copy of this message
on 6/19/01 9:03 AM, Zhu George-CZZ010 at George.Z.Zhu@motorola.com wrote: > > Please excuse me to post this Apache related question here, but I think most > of you might be very familiar with Apache web sever and I couldn't find a > Apache forum. > > In Apache, The index of a directory can come from one of two sources: > 1. A file written by the user, typically called index.html. > > 2. A listing generated by the server. The other directives control the format > of this listing. > > My question is: if I am using the second method (i.e. using the listing > generated by the server), how can I increase the maximum length of the > displaying names for the files? We have some files with long names, and the > displaying names (not the URL) will get truncated if we use the second method. > So, is there a way to increase the length for the displaying names? > > Thank you very much in advance. > > George > <IfModule mod_autoindex.c> IndexOptions NameWidth=30 </IfModule> That works, just tried it and got 30 characters. Provided you have autoIndexing turned on. DAve -- Dave Goodrich Director of Interface Development Reality Based Learning Company 9521 NE Willows Road, Suite 100 Redmond, WA 98052 Toll Free 1-877-869-6603 ext. 237 Fax (425) 558-5655 daveg@rblc.com http://www.rblc.com

« previous php.general (#54427) next »