376a8b1a70
remove superfluous line
interp2002-09-27 15:25:15 +00:00
99fb8f3e32
+ major change in internal representation of forms and its elements + SERVLET-FORM now introduces a special form with our input-fields + servlet-forms may be nested
interp2002-09-27 15:24:44 +00:00
9c6db22736
export input-field primitives from servlets
interp2002-09-27 15:19:42 +00:00
3fcaa99239
register session before loading plugin to be able to create callbacks in plugin
interp2002-09-27 15:04:36 +00:00
7dde62cd1a
Be more flexible with paths; use $SUNETHOME and $SSAXPATH if set or reasonable default values if not. In particular, work around the dependency of config on cwd.
interp2002-09-26 12:13:01 +00:00
1abbed29f0
renaming UTILTIES.SCM to SERVLETS.SCM and structure PLUGIN-UTILITIES to SERVLETS
interp2002-09-25 17:01:00 +00:00
c28d6cf153
renaming UTILTIES.SCM to SERVLETS.SCM and structure PLUGIN-UTILITIES to SERVLETS
interp2002-09-25 13:02:31 +00:00
9f2754cff5
first shot on servlet's new form interface
interp2002-09-24 16:56:00 +00:00
8e4a0c2872
remove incongruousnesses of previous accident commit
interp2002-09-24 09:12:58 +00:00
fba9e1a4d3
a simple adding servlet; doing a lot by hand
interp2002-09-24 09:03:30 +00:00
0b2a59b6ef
utilities for servlet plugins on higher level
interp2002-09-24 09:01:26 +00:00
74e26ddeb5
add conditions to servlet-handler's open clause
interp2002-09-21 20:20:29 +00:00
1a1d4f86a0
minor change in comments
interp2002-09-21 20:19:30 +00:00
4d9f45c1bd
remove FIXMEs: * respect presence of threads - use locks for table accesses (*instance-table*, continuation-table, *plugin-table*) * return 404 Not found if servlet does not exist * neglect POST request (will do this later) * reload plugin if timestamp has changed
interp2002-09-21 20:18:49 +00:00
be308133d2
opens packages and structures for servlet-server in right order note: needs (r5rs-) SSAX to be present
interp2002-09-20 19:25:20 +00:00
ab158529ef
starts a somehow 'full feature' web-server
interp2002-09-20 19:24:01 +00:00
a66cd239c9
* slim example web-server * create an example web-server using servlets in httpd/servlets (the servlet files from the example web-server moved there)
interp2002-09-20 19:23:17 +00:00
abd747a49b
* use Oleg's SSAX (SSAX->HTML et al.) * add continuation counter in servlet-handler, thus the generated continuation urls are a bit more human readable.
interp2002-09-19 11:16:29 +00:00
e866228288
* load $SSAXPATH/lib/packages.scm; if SSAXPATH is not defined or null, "SSAX" is used.
interp2002-09-19 11:07:37 +00:00
ec23e5dbb6
ignore the SSAX stuff
interp2002-09-18 17:25:26 +00:00
78e8cb3777
use lock while creating temp-file
interp2002-09-18 15:33:42 +00:00
911c56e668
change to srfi-27 for random bits
interp2002-09-18 15:32:41 +00:00
9baec4fbf0
Handle Location:' and Status:' headers of CGI program's output correctly.
interp2002-09-02 13:43:03 +00:00
ff56fa6ec1
Add redirection feature to web-server: If the handler returns with the return code HTTP-STATUS/REDIRECT, the server creates a new request out of the redirection response and recalls the handler to serve the request. You can use MAKE-REDIRECTION-RESPONSE to create this special response.
interp2002-09-02 13:42:10 +00:00
ae04e9e503
generate correct status header line
interp2002-09-02 13:33:45 +00:00
060d0f8076
Remove FILTER-MAP from smtp.scm and use the FILTER-MAP from SRFI 1 instead.
sperber2002-09-02 08:36:42 +00:00
e6009cad13
Rename (misnomed) SENDMAIL to SEND-MAIL-VIA-SMTP and make it accept a FROM argument. Fix some transaction bugs in its implementation. Remove %SENDMAIL, now superfluous.
sperber2002-09-02 08:35:09 +00:00
7a54991212
Trivially convert the macros to procedures. Fix a bunch of bugs where a transaction would be closed prematurely and/or repeatedly.
sperber2002-09-02 08:21:44 +00:00
9602104a8c
output directly to socket:outport in emit-man-page
interp2002-08-30 12:04:27 +00:00
f94396a54e
look if file is executable
interp2002-08-29 14:53:44 +00:00
50fa27f993
adapt to new response philosophy (not tested yet)
interp2002-08-29 14:05:55 +00:00
7ca34fa270
* adapt rman-gateway to new response philosophy * add rman-gateway to example server * add init proc to http-test in start-web-server
interp2002-08-29 10:51:47 +00:00
5bced0b8f7
remove introduced but nerving signal stuff from handlers
interp2002-08-29 08:32:39 +00:00
62b3307fb2
* new response body: :HTTP-READER-WRITER-BODY * hand over SOCKET:INPORT to SEND-HTTP-RESPONSE * apply this to seval-handler
interp2002-08-28 16:44:07 +00:00
57c6710012
* map socket inport to handler inport (allows POST requests) * remove FIXME from seval * add seval example to example web-server
interp2002-08-28 15:56:14 +00:00
a2aed3280e
adapt seval-handler to new response philosophy FIXME: problems with input port in POST request
interp2002-08-28 15:41:52 +00:00
7fd23a0ceb
let handler exit if error occurs
interp2002-08-28 15:40:32 +00:00
e877336d0a
send extra headers from script's output
interp2002-08-28 10:10:45 +00:00
c5c67ec837
add delete-headers to rfc822, that removes a header entry
interp2002-08-28 10:10:00 +00:00
542fea9f55
adpat cgi-server to new response philosophy NOTE: There's a FIXME left: nph- scripts won't work at all currently.
interp2002-08-28 09:54:40 +00:00
b08f418d77
htdocs-dir, cgi-bin-dir, port and logfile-name now configurable by command line arguments
interp2002-08-27 13:58:54 +00:00
fd2d2bc79c
clean up dns lookup call
interp2002-08-27 13:48:30 +00:00
013c7bd5b3
Adjust use of TILDE-HOME-DIR-HANDLER.
sperber2002-08-27 09:45:05 +00:00
3b6b813965
Move NULL-PATH-HANDLER from HTTPD-FILE-DIRECTORY-HANDLERS-INTERFACE to HTTPD-BASIC-HANDLERS.
sperber2002-08-27 09:42:02 +00:00
c97bbfc1db
Move MAKE-HTTP-ERROR-RESPONSE from HTTPD-CORE to HTTPD-RESPONSES. Elide REALLY-MAKE-HTTP-ERROR-RESPONSE in the process.
sperber2002-08-27 09:39:05 +00:00
f5b7f76bd6
Fix HOME-DIR-HANDLER and TILDE-HOME-DIR-HANDLER.
sperber2002-08-27 09:32:12 +00:00
4c98437ce0
Fix typo in SEND-HTTP-RESPONSE.
sperber2002-08-27 09:28:09 +00:00
19a97d0b35
let sunet-version-identifier be a string
interp2002-08-26 16:36:53 +00:00
755b715a77
* move dotdot-check and copy-inport->outport to sunet-utilities * open necessary packages in various structures
interp2002-08-26 16:36:25 +00:00