[hunchentoot-devel] Problems with create-folder-dispatcher-and-handler

Rafał Strzaliński nablaone at gmail.com
Wed Dec 6 21:24:39 UTC 2006


Hi,

I've tried to serve files from 'public' directory under '/' base URL:

(hunchentoot::create-folder-dispatcher-and-handler
         "/"
         #p"public/")

and always got 403 HTTP error.

When I've changed base url to for example '/public/' everything works fine.

I've tried to fix it, but i'm don't understand pathnames well :-(

Any ideas?


IMHO
(with-chroot (directory) ...) would be an ideal solution :-)


Environment:
SBCL 1.0
Debian Etch
Hunchentoot  0.4.10


--
Best regards,
Rafal Strzalinski (nabla)
http://rafal.strzalinski.pl



More information about the Tbnl-devel mailing list