[plt-scheme] change default-web-root to a different path

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Oct 3 17:29:25 EDT 2008

A user goes to the URL


and you want


Isn't that this-expression-file-name?



On Fri, Oct 3, 2008 at 11:31 AM, YC <yinso.chen at gmail.com> wrote:
> This is a new issue after I switched the config table, because I made use of
> the `default-configuration-table-path`, sorry for the confusion.
> What I am doing is calculating the path in the url that belongs to the
> servlet's name (and the part that doesn't belong).  The hack I came up with
> basically made use of `make-url->path` & `make-url->valid-path` to derive
> the paths, and the only path that I can pass to `make-url->path` was the
> `default-configuration-table-path`, but this appears to be hard coded.
> If there are other ways to achieve what I am doing that would work as well.
> Thanks,
> yc
> On Fri, Oct 3, 2008 at 5:08 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>> I'm confused. You want your servlet to know what the configuration
>> table the server was run with?
>> Jay

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.