Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Formating file names on a directory listing.

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Problem using php_admin_value open_basedir  
Author Message
matt11

External


Since: Apr 27, 2004
Posts: 2



(Msg. 1) Posted: Tue Apr 27, 2004 5:35 pm
Post subject: Formating file names on a directory listing.
Archived from groups: alt>apache>configuration (more info?)

Hi there, I have a public share that has Indexes turned on, but the file names are being truncated on the
html part but the link is complete.

For example the index displays
AMA-FormulaXtreme-04..> 23-Apr-2004 17:37 127M
AMA-Superbike-04-03-..> 26-Apr-2004 22:24 435M
AMA-Superbike-04-03-..> 27-Apr-2004 04:56 476M
AMA-Superbike-04-04-..> 24-Apr-2004 00:05 366M
AMA-Supersport-04-04..> 24-Apr-2004 00:39 244M
AMA-Superstock-04-04..> 24-Apr-2004 01:10 193M
MotoGP-World Champio..> 27-Apr-2004 16:27 146M
World-Superbike-04-0..> 23-Apr-2004 01:21 324M
World-Superbike-04-0..> 23-Apr-2004 17:55 318M
World-Superbike-04-0..> 27-Apr-2004 06:53 323M
World-Superbike-04-0..> 27-Apr-2004 06:01 324M
World-Superbike-04-0..> 24-Apr-2004 16:03 323M

When I would like it to display (plus the file information)
AMA-FormulaXtreme-04-04-04-Round2-Fontana.wmv
AMA-Superbike-04-03-06-Round1-Part1-Daytona.wmv
AMA-Superbike-04-03-06-Round1-Part2-Daytona.wmv
AMA-Superbike-04-04-03-Round2-Fontana.wmv
AMA-Supersport-04-04-04-Round2-Fontana.wmv
AMA-Superstock-04-04-04-Round2-Fontana.wmv
MotoGP-World Championship-04-04-18-Round1-SouthAfrica.wmv
World-Superbike-04-02-29-Round1-Race1-Valencia.wmv
World-Superbike-04-02-29-Round1-Race2-Valencia.wmv
World-Superbike-04-03-28-Round2-Race1-Australia.wmv
World-Superbike-04-04-18-Round3-Race1-Misano.wmv
World-Superbike-04-04-18-Round3-Race2-Misano.wmv

How can I achieve this?

Thanks,
Matt

 >> Stay informed about: Formating file names on a directory listing. 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Wed Apr 28, 2004 3:23 am
Post subject: Re: Formating file names on a directory listing. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Matias Silva" <matt.DeleteThis@nospam.com> schreef in bericht
news:108tkh4rls64tfb@corp.supernews.com...
 > Hi there, I have a public share that has Indexes turned on, but the file
names are being truncated on the
 > html part but the link is complete.
 > For example the index displays
 > AMA-FormulaXtreme-04..> 23-Apr-2004 17:37 127M
 > AMA-Superbike-04-03-..> 26-Apr-2004 22:24 435M
[snipped]
 > How can I achieve this?
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html#indexoptions" target="_blank">http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html#indexoptions</a>
" NameWidth=[n | *]
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. "

HansH<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Formating file names on a directory listing. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]