[Fwd: [hunchentoot-devel] Having troublewithcreate-folder-dispatcher-and-handler]

Cunningham, Jeff jeffrey.k.cunningham at boeing.com
Mon Dec 17 19:50:03 UTC 2007


Okay. I'll do that.

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".

Thanks for clearing this up for me.

--Jeff

Hans Hübner wrote:
> 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
> http://site.znain.com/dl/lisp/hunchentoot-dir-lister/ helps you out?
>
> -Hans
>
> On Dec 17, 2007 7:16 PM, Cunningham, Jeff
> <jeffrey.k.cunningham at boeing.com> wrote:
>   
>>  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:
>>
>>  http://localhost:3001/hunchentoot/code/fz.jpg
>>
>>  But with this URL I get a 400: bad request
>>
>>  http://localhost:3001/hunchentoot/code/
>>
>>  --Jeff
>>
>> _______________________________________________
>> tbnl-devel site list
>> tbnl-devel at common-lisp.net
>> http://common-lisp.net/mailman/listinfo/tbnl-devel
>>
>>     
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20071217/1952bf4e/attachment.html>


More information about the Tbnl-devel mailing list