Wapp

Check-in [83e002a08c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix error in the first example of the "intro.md" page.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 83e002a08cd520a6f3ed87b46f38f74416e0cebe6f0afe5e6c907ab384a8f173
User & Date: drh 2019-04-01 01:31:19.420
Context
2019-04-01
01:57
Documentation improvements. (check-in: 38fa4334e3 user: drh tags: trunk)
01:31
Fix error in the first example of the "intro.md" page. (check-in: 83e002a08c user: drh tags: trunk)
00:53
Improved SCGI security: (1) The --scgi option only listens on IP address 127.0.0.1. The new --remote-scgi option must be used if the webserver is on a different machine. (2) The new --fromip option can be used to restrict incoming requests to a particular IP address. (3) In SCGI mode, the new parameter "SERVER_ADDR" contains the IP address of the webserver that originated the SCGI request. (check-in: fb5eafae32 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to docs/intro.md.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Introducing To Writing Wapp Applications
========================================

1.0 Hello World
---------------

Wapp applications are easy to develop.  A hello-world program is as follows:

>
    #!/usr/bin/wapptclsh
    package require wapp
    proc wapp-default {req} {
       wapp-subst {<h1>Hello, World!</h1>\n}
    }
    wapp-start $::argv

Every Wapp application defines one or more procedures that accept HTTP
requests and generate appropriate replies.
For an HTTP request where the initial portion of the URI path is "abcde", the











|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Introducing To Writing Wapp Applications
========================================

1.0 Hello World
---------------

Wapp applications are easy to develop.  A hello-world program is as follows:

>
    #!/usr/bin/wapptclsh
    package require wapp
    proc wapp-default {} {
       wapp-subst {<h1>Hello, World!</h1>\n}
    }
    wapp-start $::argv

Every Wapp application defines one or more procedures that accept HTTP
requests and generate appropriate replies.
For an HTTP request where the initial portion of the URI path is "abcde", the