This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Web Authoring Tools > August 2007 > Re: Command-line program for pretty dir listings needed





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Command-line program for pretty dir listings needed
Andreas Prilop

2007-08-17, 6:19 pm

On Fri, 17 Aug 2007, Robert Latest wrote:

> I'd like to make a bunch of dirs full of files available on a web server.


Address (URL)? Which server software?

> I'm using the listing is ugly to boot because the server doesn't display
> UTF-8 characters correctly;


You must use "percent encoding" by rfc 3986.
http://www.unics.uni-hannover.de/nhtcapri/%25/

> So what I'm looking for is some little program which, when invoked in a
> directory, will produce an index.html file listing the files in that dir,
> including date and file size. With a link to the respective file itself of
> course.


Apache can do this for you.
http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html
Robert Latest

2007-08-20, 6:24 pm

["Followup-To:" header set to comp.infosystems.www.authoring.html.]
Andreas Prilop wrote:
> On Fri, 17 Aug 2007, Robert Latest wrote:
>
>
> Address (URL)? Which server software?


Doesn't matter because it needs to be portable across servers.

> Apache can do this for you.
> http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html


Maybe it can; however, the page is served by unknown software from
inaccessible hardware.

robert
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews