[plt-scheme] Servlet Locations

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Aug 31 14:07:36 EDT 2007

You have two options.

1) Put an Apache redirect in front of the server.

2) Write your own dispatching sequence [1] that uses a different url
URL->PATH function, or rather removes the '/servlet' url filter in the
default dispatching sequence.


1. http://jay.teammccarthy.org/tmp/web-server-reference/dispatchers.html

On 8/30/07, Henk Boom <lunarc.lists at gmail.com> wrote:
> Hi, I am going to write a personal home page, and I thought it would
> be fun to give the PLT Scheme web server a try. I've looked at the
> documentation at http://docs.plt-scheme.org/web-server/ , and I've got
> a question. I'm a little noobish in terms of web server knowledge, so
> forgive me if there is something simple I am overlooking.
> As far as I can tell, all servlets must be located in the /servlets
> directory. So for example, my site could be at
> http://localhost/servlets/site.ss/some/path/, where /some/path/ is
> info to tell it what page to display. What I would want, though, is to
> be able to use something like http://localhost/site/some/path/, or
> maybe even http://localhost/some/path/ (if I can get at the utility
> servlets some other way).
> The documentation mentions some sort of "servlet filter," but never
> actually says what it is or how it is configured.
> How can I accomplish this?
> Have a nice day,
>     Henk Boom
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Jay McCarthy <jay.mccarthy at gmail.com>

Posted on the users mailing list.