<div dir="ltr">Sorry, I've copied the wrong log entry, this is the correct one:<br><br>127.0.0.1 - [2014-01-31 17:35:44] "GET /game.html HTTP/1.1" 404 188 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36"<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 5:33 PM, Oleg Sivokon <span dir="ltr"><<a href="mailto:olegsivokon@gmail.com" target="_blank">olegsivokon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello list,<br>
<br>
There should be something very simple I've overlooked, yet I can't find<br>
it. Hunchentoot seems not to be able to locate the root directory, where<br>
I have my static content, and I can't get it to print any useful<br>
information about it. That's why I'm asking for your help.<br>
<br>
Below is my setup:<br>
<br>
(setf (logical-pathname-translations "rgol")<br>
'(...<br>
("WWW;*.*.*" "/home/wvxvw/.../www/")<br>
("WWW;*;*.*.*" "/home/wvxvw/.../www/*")<br>
...))<br>
<br>
(make-instance 'hunchentoot:acceptor :port 4242<br>
:document-root #p"rgol:www;"<br>
:message-log-destination #p"rgol:logs;messages.log"<br>
:access-log-destination #p"rgol:logs;access.log")<br>
<br>
I've defined another handler, which doesn't depend on static files, and<br>
it works fine, however, when I try to access static files, the log<br>
record looks like this:<br>
<br>
127.0.0.1 - [2014-01-31 17:12:40]<br>
"GET /img/made-with-lisp-logo.jpg HTTP/1.1"<br>
404 206 "<a href="http://localhost:4242/game.html" target="_blank">http://localhost:4242/game.html</a>"<br>
"Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0"<br>
<br>
But the file is definitely there, because if I try this in REPL:<br>
<br>
(directory #p"rgol:www;*.*")<br>
(#P"/home/wvxvw/.../www/game.html"<br>
... more files ...)<br>
<br>
My version of Hunchentoot is:<br>
<br>
hunchentoot:*hunchentoot-version*<br>
"1.2.17"<br>
<br>
$ sbcl --version<br>
SBCL 1.1.2-1.fc18<br>
<br>
Best,<br>
<br>
Oleg<br>
</blockquote></div><br></div>