Modernizing defaults
svn: r12172
This commit is contained in:
parent
10127c9561
commit
6ff90087ac
|
@ -1,4 +0,0 @@
|
||||||
<html><head><title>PLT Web Server: Embedding Interface</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><h2>PLT Web Server: Embedding Interface</h2><p>To use the Web server inside another PLT-Scheme program, require the Web server module: <blockquote><code>(require (lib "web-server.ss" "web-server"))</code></blockquote>
|
|
||||||
This provides one main function:
|
|
||||||
<blockquote><code>serve : configuration [nat] [str] -> (-> void)<br />(define (serve configuration port ip-address) ...)
|
|
||||||
</code></blockquote>The serve function starts the Web server, just like the launcher does, but the configuration argument supplies the server's settings. The optional port argument overrides the port supplied by the configuration. The optional ip-address restricts accepted web requests to come only from that address.<p>The result of invoking serve is a function of no arguments that shuts down the server.</p></p><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1,30 +0,0 @@
|
||||||
#lang scheme/base
|
|
||||||
(require web-server/servlet)
|
|
||||||
(provide (all-defined-out))
|
|
||||||
(define interface-version 'v1)
|
|
||||||
(define timeout +inf.0)
|
|
||||||
|
|
||||||
; request-number : str -> num
|
|
||||||
(define (request-number which-number)
|
|
||||||
(string->number
|
|
||||||
(extract-binding/single
|
|
||||||
'number
|
|
||||||
(request-bindings (send/suspend (build-request-page which-number))))))
|
|
||||||
|
|
||||||
; build-request-page : str -> str -> response
|
|
||||||
(define (build-request-page which-number)
|
|
||||||
(lambda (k-url)
|
|
||||||
`(html (head (title "Enter a Number to Add"))
|
|
||||||
(body ([bgcolor "white"])
|
|
||||||
(form ([action ,k-url] [method "post"])
|
|
||||||
"Enter the " ,which-number " number to add: "
|
|
||||||
(input ([type "text"] [name "number"] [value ""]))
|
|
||||||
(input ([type "submit"] [name "enter"] [value "Enter"])))))))
|
|
||||||
|
|
||||||
(define (start initial-request)
|
|
||||||
(send/suspend
|
|
||||||
(lambda (k-url)
|
|
||||||
`(html (head (title "Sum"))
|
|
||||||
(body ([bgcolor "white"])
|
|
||||||
(p "The sum is "
|
|
||||||
,(number->string (+ (request-number "first") (request-number "second")))))))))
|
|
|
@ -1,15 +0,0 @@
|
||||||
#lang scheme/base
|
|
||||||
(require mzlib/date)
|
|
||||||
(provide (all-defined-out))
|
|
||||||
(define interface-version 'v1)
|
|
||||||
(define timeout +inf.0)
|
|
||||||
|
|
||||||
(define count 0)
|
|
||||||
(define a-date (date->string (seconds->date (current-seconds)) 'time-too))
|
|
||||||
(define (start initial-request)
|
|
||||||
(set! count (add1 count))
|
|
||||||
|
|
||||||
`(html (head (title "Counter"))
|
|
||||||
(body ([bgcolor "white"])
|
|
||||||
(p "This servlet was called " ,(number->string count)
|
|
||||||
" times since loaded on " ,a-date "."))))
|
|
|
@ -1,11 +0,0 @@
|
||||||
#lang scheme/base
|
|
||||||
(provide (all-defined-out))
|
|
||||||
(define interface-version 'v1)
|
|
||||||
(define timeout +inf.0)
|
|
||||||
|
|
||||||
(define the-text "Hello, Web!")
|
|
||||||
|
|
||||||
(define (start initial-request)
|
|
||||||
`(html (head (title ,the-text))
|
|
||||||
(body ([bgcolor "white"])
|
|
||||||
(p ,the-text))))
|
|
|
@ -1,2 +0,0 @@
|
||||||
<html><head><title>PLT Web Server: Installation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><h2>PLT Web Server: Installation</h2><p>Follow the following simple steps to start using the PLT Web server:</p><dl><dt>1. <b>Install DrScheme</b></dt><dd>The Web server requires <a href="http://www.drscheme.org/">DrScheme</a> or <a href="http://www.plt-scheme.org/software/mzscheme/">MzScheme</a> version 200alpha1 or later.</dd><dt>2. <b>Download the server</b></dt><dd>Choose <u><em>one</em></u> of the following installation options: <ul><li>Click <a href="http://www.ccs.neu.edu/home/ptg/packages/web-server.plt"><code>here</code></a> from within help-desk.</li><li>Choose "Open URL..." from help-desk's "File" menu and
|
|
||||||
enter <a href="http://www.ccs.neu.edu/home/ptg/packages/web-server.plt"><code>http://www.ccs.neu.edu/home/ptg/packages/web-server.plt</code></a></li><li>Download the file using another browser. Then select "Open" from the "File" menu in help-desk.</li><li>Download the file using another browser and save it as <code>web-server.plt</code>. Then run <blockquote><code>setup-plt web-server.plt</code></blockquote>This option works with MzScheme as well as with DrScheme.</li></ul></dd><dt>3. <b>Start the server</b></dt><dd>Launch the <code>web-server</code> program created in the same location as the other PLT programs such as DrScheme.<br />The server may need to use a different port, such as 8080, on some systems. Choose a different port by starting the server with an optional port number:<blockquote><code>web-server 8080</code></blockquote></dd><dt>4. <b>Try it out</b></dt><dd>Direct a Web browser to <blockquote><code>http://localhost/</code></blockquote> or to <blockquote><code>http://localhost:8080/</code></blockquote> depending on the server's port.</dd><dt>5. <b>Configure</b></dt><dd>You may configure your server by following the links on the default index page. </dd></dl><p>We know you have a choice. Thank you for choosing PLT software.</p><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Web Server Monitoring</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><h2>Web Server Monitoring</h2><p>The Web server collection provides a program for monitoring Web servers. It periodically checks that a server responds to requests.To use the tool, start the <code>web-server-monitor</code> launcher as follows: </p><blockquote><code>web-server-monitor</code> alert-email host-name [port] [poll-frequency-seconds] [server-response-timeout-seconds]</blockquote><p>The monitor will send a HTTP HEAD request to the server at <code>host-name</code> on port <code>port</code> (or 80) every <code>poll-frequency-seconds</code> seconds (or 1 hour). If the server does not respond within <code>server-response-timeout-seconds</code> (or 75) seconds then the monitor will email <code>alert-email</code> about the problem. Also, if the Web server responds with an error, the monitor will email the error message to <code>alert-email</code>. For example, the following monitors the Web server for the book ``How to Design Programs''</p><blockquote><code>web-server-monitor jay www.htdp.org</code></blockquote><p>On UNIX systems, it is usually a good idea to redirect standard in, out, and error to <code>/dev/null</code> so the monitor will not quit due to a <code>SIGHUP</code> (hangup signal) when you log out. i.e.</p><blockquote><code>web-server-monitor jay www.htdp.org > /dev/null < /dev/null 2>&1 &</code></blockquote><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1,30 +0,0 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
||||||
<title>PLT Servlet Examples</title>
|
|
||||||
</head>
|
|
||||||
<body bgcolor="white">
|
|
||||||
<img src="/Defaults/documentation/web-server.gif" width="61" height="57"><h2>PLT Servlet Examples</h2>
|
|
||||||
<p>The table below links to small example servlets.<br>The configuration tool is a larger example.<br>The `go' links only work when served from the PLT Web server.</p>
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th>Source Code</th>
|
|
||||||
<th>Evaluate</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="examples/add.ss">add.ss</a></td>
|
|
||||||
<td><a href="/servlets/examples/add.ss">go</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="examples/count.ss">count.ss</a></td>
|
|
||||||
<td><a href="/servlets/examples/count.ss">go</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><a href="examples/hello.ss">hello.ss</a></td>
|
|
||||||
<td><a href="/servlets/examples/hello.ss">go</a></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif"></a></p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,63 +0,0 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
||||||
<title>PLT Web Server: Servlet Interface</title>
|
|
||||||
</head>
|
|
||||||
<body bgcolor="white">
|
|
||||||
<img src="/Defaults/documentation/web-server.gif" width="61" height="57" />
|
|
||||||
<h2>PLT Web Server: Servlet Interface</h2>
|
|
||||||
<p>Instead of serving files from a special directory
|
|
||||||
verbatim, the Web server executes the contained
|
|
||||||
Scheme code and serves the output. By default,
|
|
||||||
the special directory is named "servlets" within
|
|
||||||
the "default-web-root" of the "web-server"
|
|
||||||
collection directory. Each file in that directory
|
|
||||||
must evaluate to a servlet.</p>
|
|
||||||
|
|
||||||
<p>A servlet is a <code>module</code> that provides
|
|
||||||
three values: an
|
|
||||||
<code>interface-version</code>,
|
|
||||||
a <code>timeout</code>, and a
|
|
||||||
<code>start</code> procedure:</p>
|
|
||||||
<blockquote><code><pre>
|
|
||||||
(module servlet mzscheme
|
|
||||||
(require (lib "servlet.ss" "web-server"))
|
|
||||||
(provide interface-version timeout start)
|
|
||||||
(define interface-version 'v1)
|
|
||||||
(define timeout +inf.0)
|
|
||||||
(define (start initial-request)
|
|
||||||
...))
|
|
||||||
</pre></code></blockquote>
|
|
||||||
|
|
||||||
<p>The <code>start</code> procedure should produce a
|
|
||||||
<em>response</em> to an HTTP request. Please
|
|
||||||
refer to the documentation available via the Help
|
|
||||||
Desk for more information about working with these
|
|
||||||
values and programming servlets.</p>
|
|
||||||
|
|
||||||
<h3>Special URLs</h3>
|
|
||||||
<p>The Web server caches passwords and servlets for
|
|
||||||
performance reasons. Requesting the URL</p>
|
|
||||||
<blockquote><a
|
|
||||||
href="/conf/refresh-passwords"><code>http://my-host/conf/refresh-passwords</code></a></blockquote>
|
|
||||||
<p>reloads the password file. After updating a
|
|
||||||
servlet, loading the
|
|
||||||
URL</p>
|
|
||||||
<blockquote><a
|
|
||||||
href="/conf/refresh-servlets"><code>http://my-host/conf/refresh-servlets</code></a></blockquote>
|
|
||||||
<p>causes the server to reload each servlet on the
|
|
||||||
next invocation. This loses any per-servlet state (not
|
|
||||||
per servlet instance state) computed before the unit
|
|
||||||
invocation.</p>
|
|
||||||
|
|
||||||
<p>The Web server's garbage collect may be invoked at
|
|
||||||
the URL: </p>
|
|
||||||
<blockquote><a href="/conf/collect-garbage"><code>http://my-host/conf/collect-garbage</code></a></blockquote>
|
|
||||||
|
|
||||||
<p><a href="servlet-examples.html">Examples of Servlets</a></p>
|
|
||||||
<p>Powered by <a href="http://www.plt-scheme.org/">
|
|
||||||
<img width="53" height="19"
|
|
||||||
src="/Defaults/documentation/plt-logo.gif" /></a></p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="password-refresh-message"><b>Password cache refreshed</b></a></dt><dd>To update the password cache, visit the URL <blockquote><a href="/conf/refresh-passwords"><code>http://</code>your-host<code>/conf/refresh-passwords</code></a></blockquote>Doing so updates the password cache and displays the <em>password cache refreshed</em> page.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-access-message"><b>Access Denied</b></a></dt><dd>Failed attempts to access a password protected page cause the Web server to produce the contents of the <em>Access Denied</em> page.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-host-root"><b>Host root</b></a></dt><dd>All the configuration files for a host reside in the <em>Host root</em> or its subdirectories.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-htdocs"><b>Web document root</b></a></dt><dd>Files containing HTML pages, pictures, or other Web media come from this directory.<br />The URL referring to a file `my-web-page.html' immediately inside the <em>Web document root</em> is <blockquote><code>http://this-host-name/my-web-page.html</code></blockquote></dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-log"><b>Log file</b></a></dt><dd>The server stores messages into the <em>Log file</em>.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-message-root"><b>Message root</b></a></dt><dd>This directory contains messages sent to the user. See the other path settings for details.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-not-found-message"><b>File not found</b></a></dt><dd>When a file or servlet is not found on the server, the server uses the message from the <em>File not found</em> page.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-password"><b>Password File</b></a></dt><dd>To restrict access to files in the <a href="path-htdocs.html">Web document root</a> provide the path to a password file.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-protocol-message"><b>Protocol error</b></a></dt><dd>When a browser violates the HTTP protocol, confusing the server, the <em>protocol error</em> message may appear. It should never appear when interacting with the server through a properly functioning Web browser.Depending on the error, the server may close the connection instead.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-servlet-message"><b>Servlet error</b></a></dt><dd>When a servlet raises an uncaught exception, the server provides an error message starting with a description of the specific error and ending with the contents of the <em>servlet error</em> page.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="path-servlet"><b>Servlet root</b></a></dt><dd>Instead of serving out files contained in the <em>Servlet root</em> directory verbatim, the Web server executes them as <a href="/Defaults/documentation/servlet.html">Scheme servlets</a></dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="port"><b>Port</b></a></dt><dd>The Web server waits for requests to arrive on this <em>port</em>. The port appears in some URLs after the host name. i.e. 8080 in <blockquote><code>http://www.ccs.neu.edu:8080/home/ptg/file.html</code></blockquote> HTTP specifies that 80 is the default port.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="realm-name"><b>Realm Name</b></a></dt><dd>Realm Name appears in the dialog box that prompts for a username and password.<br />It indicates which username and password the server requires.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="realm-pattern"><b>Realm URL Path Pattern</b></a></dt><dd>If the path part of a requested URL matches the pattern, then the server requests a username and password. For details on pattern syntax, search for <code>regexp</code> in <code>help-desk</code>.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="servlet-refresh-message"><b>Servlet cache refreshed</b></a></dt><dd><p>The Web server caches servlets (not the output of servlets). When developers update servlets, they must visit the URL <blockquote><a href="/conf/refresh-servlets"><code>http://</code>your-host<code>/conf/refresh-servlets</code></a></blockquote>to refresh the cache. When they do, they see the message from the <em>servlet cache refreshed</em> file.</p><p>Refreshing servlets does not affect currently running servlets, including suspended ones.Only servlets started from the beginning will execute the updated code.</p></dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="time-default-servlet"><b>Default Servlet Timeout Seconds</b></a></dt><dd>This value determines how long a servlet can wait in between requests before shutting down, unless the servlet calls <code>adjust-timeout!</code> to alter this value. Large values consume more memory, while smaller values annoy end users who must restart servlets.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="time-file-base"><b>Base When Transferring Files</b></a></dt><dd>The total number of seconds the server has to send a file is the sum of <em>Base When Transferring Files</em> and the product of <a href="time-file-per-byte.html">per Byte When Transferring Files</a> and the number of bytes in the file.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="time-file-per-byte"><b>per Byte When Transferring Files</b></a></dt><dd>The total number of seconds the server has to send a file is the sum of <a href="time-file-base.html">Base When Transferring Files</a> and the product of <em>per Byte When Transferring Files</em> and the number of bytes in the file.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="time-initial"><b>Initial Connection Timeout</b></a></dt><dd>After a client connects to the Web server, the server only waits for an HTTP request for this many seconds before closing the connection. Browsers tend to send requests immediately, so a small number will do. Choosing a truely enormous number could cause problems. When a computer crashes or its network connection fails due to an external cause, it fails to ask the Web server to reclaim the connection. If about a thousand of these hung connections accumulate without timing out, the Web server can not accept new legitimate connections.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="time-password"><b>Password Timeout Seconds</b></a></dt><dd>This is the number of seconds a user has to enter a username and password. Some users may need a while to remember (or look for) this information.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="time-servlet-connection"><b>Servlet Connection Timeout Seconds</b></a></dt><dd>This is the number of seconds a servlet has to respond to a single request. Some servlets may perform substantial computation on a loaded server before generating a page. On the other hand, most users will not wait very long for a response.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -1 +0,0 @@
|
||||||
<html><head><title>Configuration Explanation</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><dl><dt><a name="waiting"><b>Maximum Waiting Connections</b></a></dt><dd>This is the maximum number of clients that can wait for a TCP/IP connection to the Web server. This limit usually does not cause problems because the Web server quickly accepts connections as requested and there is no limit on the number of simultaneous connections. On some platforms, choosing a large number may consume too many resources.</dd></dl><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
Binary file not shown.
Before Width: | Height: | Size: 5.4 KiB |
|
@ -1,2 +0,0 @@
|
||||||
<html><head><title>Welcome to the PLT Web Server!</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><h2>Welcome to the PLT Web Server!</h2><p>To start using the Web Server, follow these steps:</p><dl><dt><b><a href="documentation/install.html">Installation</a></b></dt><dd>You can skip the install instructions if you are reading this through the PLT Web server.<p /></dd><dt><b><a href="/servlets/configure.ss">Customization</a></b></dt><dd>Use the online configuration tool to customize the server.<p /></dd><dt><b><a href="documentation/servlet.html">Servlet Interface</a></b></dt><dd>Learn how to write Scheme Servlets.<p /></dd><dt><b><a href="documentation/api.html">Embedding Interface</a></b></dt><dd>Embed the Web server in other applications.<p /></dd><dt><b><a href="documentation/monitor.html">Monitoring</a></b></dt><dd>Periodically check that Web servers continue to function.<p /></dd></dl><p>If you use the PLT Web server, please let us know at
|
|
||||||
<a href="mailto:jay@plt-scheme.org"><code>jay@plt-scheme.org</code></a>.</p><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html>
|
|
|
@ -4,7 +4,6 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body bgcolor="white">
|
<body bgcolor="white">
|
||||||
<img src="/Defaults/documentation/web-server.gif" width="61" height="57" />
|
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
|
||||||
|
@ -12,20 +11,15 @@
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<h2>Welcome to the PLT Web Server</h2>
|
<h2>Welcome to the PLT Web Server</h2>
|
||||||
|
|
||||||
<p>
|
<p>Find out more about writing servlets by reading the <a href="http://docs.plt-scheme.org/continue/index.html">Continue tutorial</a> in the Help Desk.</p>
|
||||||
Find out more about <a href='/Defaults/'>the server and configure</a> it.
|
<p>Find out more about the server by reading its <a href="http://docs.plt-scheme.org/web-server/index.html">reference manual</a> in the Help Desk.</p>
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>Please replace this page with your favorite index page.
|
|
||||||
<br />For future configuration changes, remember to look up
|
|
||||||
<br />
|
|
||||||
<center>
|
|
||||||
<code> http://127.0.0.1:<em>port</em>/Defaults/ </code>
|
|
||||||
</center>
|
|
||||||
|
|
||||||
<p>Powered by
|
<p>Please replace this page with your favorite index page.</p>
|
||||||
|
|
||||||
|
<p> Powered by
|
||||||
<a href="http://www.plt-scheme.org/">
|
<a href="http://www.plt-scheme.org/">
|
||||||
<img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" />
|
<img width="53" height="19" src="plt-logo.gif" />
|
||||||
</a>
|
</a>
|
||||||
<p><font size="-2">
|
<p><font size="-2">
|
||||||
For more information on PLT Software, please follow the icon link.
|
For more information on PLT Software, please follow the icon link.
|
||||||
|
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
@ -1,8 +0,0 @@
|
||||||
<html>
|
|
||||||
<head><title>Home</title></head>
|
|
||||||
<body>
|
|
||||||
<p>
|
|
||||||
Hi.
|
|
||||||
</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,2 +1 @@
|
||||||
'(("secret stuff" "/secret(/.*)?" (bubba "bbq") (|Billy| "BoB")
|
'()
|
||||||
(aladdin "open sesame")))
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user