chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] spiffy help


From: Mikael Hall
Subject: Re: [Chicken-users] spiffy help
Date: Fri, 31 Jul 2009 17:54:28 +0200

Hi!
Thanks for the quick reply!

I have a index.html file in /home/mikael/mylispsystem/mychicken/web , e.g

(use spiffy)

(root-path "/home/mikael/mylispsystem/mychicken/web")
(server-port 8080)
(start-server)

but when i visit localhost:8080/index.html, I get "400 - Bad request".

Any hints?


2009/7/31 Peter Bex <address@hidden>
On Fri, Jul 31, 2009 at 05:37:12PM +0200, Peter Bex wrote:
>
> (use spiffy)
>
> (root-path "/var/www")
> (server-port 80)
> (start-server)
>
[snip]
> (use spiffy)
>
> (parameterize ((root-path "/var/www")
>                (server-port 80))
>   (start-server))
>
> Which settings are available can be seen on the wiki documentation
> page; http://chicken.wiki.br/eggref/4/spiffy

I have now added these examples to the wiki page.

Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                       -- Donald Knuth



--
"No, no, you're not thinking; you're just being logical." — Niels Bohr

"There are two kinds of people, those who finish what they start and so on."
— Robert Byrne


reply via email to

[Prev in Thread] Current Thread [Next in Thread]