<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#333333">
Okay. I'll do that. <br>
<br>
I've been reading the code more closely and I think I see my
misunderstanding. The folder-dispatcher seems to be used to enable file
dispatch handlers to access files in directories that differ from the
URI-prefix? I notice that if I take it out of the hunchentoot-test then
it is unable to "view the code". <br>
<br>
Thanks for clearing this up for me. <br>
<br>
--Jeff<br>
<br>
Hans Hübner wrote:
<blockquote
 cite="mid:F014AD23EEB9B9469410D7F0334C93D30711CC0F@XCH-NW-4V2.nw.nos.boeing.com"
 type="cite">
  <pre wrap="">What I am not sure about is whether the error message is the right
thing, but I am pretty sure that hunchentoot does not do directory
listings by default.  Can you please check out whether
<a class="moz-txt-link-freetext" href="http://site.znain.com/dl/lisp/hunchentoot-dir-lister/">http://site.znain.com/dl/lisp/hunchentoot-dir-lister/</a> helps you out?

-Hans

On Dec 17, 2007 7:16 PM, Cunningham, Jeff
<a class="moz-txt-link-rfc2396E" href="mailto:jeffrey.k.cunningham@boeing.com"><jeffrey.k.cunningham@boeing.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> Hans Hübner wrote:
 The change to enough-url modifies it so that it behaves the same as
enough-namestring (which was previously used) does. What I am not
sure about is whether the create-folder-dispatcher-and-handler
dispatcher and handler can handle an empty path. What you'd propably
want to see is a directory listing? Can you fetch files if you
specify the complete URL?

-Hans


 Yes, I can fetch files with a complete URL. And you are right - I'd like to
see a directory listing.
  I just re-ran hunchentoot-test. With this url I get the image file:

 <a class="moz-txt-link-freetext" href="http://localhost:3001/hunchentoot/code/fz.jpg">http://localhost:3001/hunchentoot/code/fz.jpg</a>

 But with this URL I get a 400: bad request

 <a class="moz-txt-link-freetext" href="http://localhost:3001/hunchentoot/code/">http://localhost:3001/hunchentoot/code/</a>

 --Jeff

_______________________________________________
tbnl-devel site list
<a class="moz-txt-link-abbreviated" href="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</a>
<a class="moz-txt-link-freetext" href="http://common-lisp.net/mailman/listinfo/tbnl-devel">http://common-lisp.net/mailman/listinfo/tbnl-devel</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->_______________________________________________
tbnl-devel site list
<a class="moz-txt-link-abbreviated" href="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</a>
<a class="moz-txt-link-freetext" href="http://common-lisp.net/mailman/listinfo/tbnl-devel">http://common-lisp.net/mailman/listinfo/tbnl-devel</a>
  </pre>
</blockquote>
<br>
</body>
</html>