[hunchentoot-devel] How to enable directory browsing?

Phillip Jordan phillip.m.jordan at gmail.com
Sun Nov 26 19:36:08 UTC 2006


vedm wrote:
> When I point the browser to a directory, I want to see a list of the
> files in that directory - how can I do this with hunchentoot?
> 

Unless someone has already got some code lying around for this and is
willing to share, you'll have to write your own handler function that
maps the URL to a directory, lists all files and directories of that
directory, and writes them out in some HTML format. You'll probably want
that handler to be the last one in the list, in case there is any URL
ambiguity.

~phil


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20061126/6b5b9f02/attachment.sig>


More information about the Tbnl-devel mailing list