[plt-scheme] Recent changes to the Web Server defaults in SVN

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Thu Oct 30 10:42:43 EDT 2008

Based on recent annoyances configuring the Web Server, there's a few
recent default changes I'd like to highlight:

1) Servlets are now served from anywhere in the 'file-root' path.

Previously, a servlet's URL prefix had to be "/servlets". Now it can
be anything. The 'servlet-root' configuration table entry is now
resolved relative to the file-root.

If you want the old behavior, move your current 'servlets' directory
into your 'file-path' and change 'servlet-root' to be 'servlets'. Or,
change the default dispatcher sequence to include a
web-server/dispatchers/dispatch-filter filtering out non-prefixed
URLs.

2) The default static content is basically gone and now just points to
the documentation.

3) There is better documentation for serve/web-config@, which can be
used to easily customize the default launcher.

http://docs.plt-scheme.org/web-server/web-server_ss.html

--

Just to highlight, if you update SVN (or to the next release), your
current configuration-table will break. If you don't use a
configuration-table, then you don't have to worry about anything.

Jay

-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://jay.teammccarthy.org

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


Posted on the users mailing list.