i try to use the create-folder-dispatcher-and-handler handler. i creates like this :
[...] (list (hunchentoot:create-folder-dispatcher-and-handler "/ernestine-radio/music/" *music-directory*)) [...]
*music-directory* corresponds to /opt/music/
so i make 2 http requests. The first failed :
[2007-05-07 17:53:41] 82.225.177.13 - "GET /ernestine-radio/music//f/Fatboy_Slim/Better%20Living%20Through%20Chemistry/10%20-%20The%20Sound%20Of%20Milwaukee.mp3 HTTP/1.1" 404 412 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)"
The second works well :
[2007-05-07 17:53:55] 82.225.177.13 - GET /ernestine-radio/music//b/Black_Rebel_Motorcycle_Club/BRMC/09.Spread_Your_Love.mp3 HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11 ; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)"
i think the problem comes from the space in the name. my requests are like this :
http://perave.dyndns.org:9090/ernestine-radio/music//f/Fatboy_Slim/Better Living Through Chemistry/10 - The Sound Of Milwaukee.mp3
the second :
http://perave.dyndns.org:9090/ernestine-radio/music//b/Black_Rebel_Motorcycl...
so the second works well, not the first. if i try to url encode the 2 requests, neither the one neither the second works.
Someone have any idea ?
Thanks for your help.