[plt-scheme] newbie: web server tutorial questions

From: e (eviertel at gmail.com)
Date: Thu Feb 12 21:15:07 EST 2009

awesome.  I missed that "path" was in italics.  path was what was unbound,
duh.  I thought it was saying that something in my path was unbound.
Totally amazing software, I'm sure I don't have to say.  Totally amazing.

On Thu, Feb 12, 2009 at 2:08 PM, Jay McCarthy <jay.mccarthy at gmail.com>wrote:

> On Thu, Feb 12, 2009 at 11:13 AM, e <eviertel at gmail.com> wrote:
> > just before the https section in the tutorial:
> http://docs.plt-scheme.org/continue/index.html
> >
> >   I tried> mzscheme -t blog.ss
> >
> >   and got back> blog.ss:150:33: compile: unbound identifier in module
> > in: path
>
> Your problem is that you've left 'path' in the code, where it says:
>
> "You should change /path/ to be the path to the parent of your htdocs
> directory."
>
> > sooooooo, is <file.ss> supposed to be the same value as
> > "APPLICATION.ss", and are both of these supposed to be the place the
> > application code was getting cut and past (in my case "blog.ss")?  Are
> > all the ss files supposed to reside in a servlets folder?  and is
> >
> >        #:servlet-path "/servlets/APPLICATION.ss"
> >
> > a relative path to htdocs?
>
> file.ss is where the actual code is
>
> servlet-path (and APPLICATION.ss) is the URL you would like to use to get
> to it.
>
> > and in the following,
> >       (list (build-path path "htdocs"))
> >
> > is htdocs relative to where you run the mzscheme command?
>
> htdocs is relative to 'path', which you must supply. If you use
> (current-directory), then you will use the current directory.
>
> Jay
>
> >
> > Thanks.
> > _________________________________________________
> >  For list-related administrative tasks:
> >  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
>
>
>
> --
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://teammccarthy.org/jay
>
> "The glory of God is Intelligence" - D&C 93
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090212/292d9917/attachment.html>

Posted on the users mailing list.