1.1 --- a/docs/Webware/NOTES.txt Tue Jul 12 14:12:14 2005 +0000
1.2 +++ b/docs/Webware/NOTES.txt Tue Jul 12 14:12:20 2005 +0000
1.3 @@ -1,13 +1,36 @@
1.4 -Webware's CGI adapter:
1.5 +Webware's CGI Adapter
1.6 +=====================
1.7
1.8 Copy the Webware/WebKit/Adapters/WebKit.cgi file to your CGI directory (eg.
1.9 -/home/httpd/cgi-bin), then add a line like this to httpd.conf:
1.10 +/home/httpd/cgi-bin) and ensure that the permissions are appropriate for a CGI
1.11 +program.
1.12 +
1.13 +Configuring in Apache
1.14 +---------------------
1.15 +
1.16 +Add a line like this to your Apache configuration file (eg. httpd.conf):
1.17
1.18 ScriptAlias /webkit "/home/httpd/cgi-bin/WebKit.cgi"
1.19
1.20 ---------
1.21 +Configuring in AOLserver
1.22 +------------------------
1.23 +
1.24 +Ensure the presence of the following lines in your configuration file (eg.
1.25 +config.tcl):
1.26
1.27 -Authentication/authorisation in Webware:
1.28 +ns_section "ns/server/${servername}/module/nscgi"
1.29 +ns_param map "GET /webkit /home/httpd/cgi-bin/WebKit.cgi" ;# CGI script file dir (GET).
1.30 +ns_param map "POST /webkit /home/httpd/cgi-bin/WebKit.cgi" ;# CGI script file dir (POST).
1.31 +ns_param interps CGIinterps
1.32 +
1.33 +ns_section "ns/interps/CGIinterps"
1.34 +ns_param .cgi "/usr/bin/python"
1.35 +
1.36 +See docs/CGI/NOTES.txt for more information on AOLserver and CGI
1.37 +configuration.
1.38 +
1.39 +Authentication/Authorisation in Webware
1.40 +=======================================
1.41
1.42 Since Webware provides some kind of CGI emulation environment, the actual HTTP
1.43 headers involved with authentication/authorisation are not available to the
1.44 @@ -38,9 +61,8 @@
1.45 specific context (for Webware releases beyond 0.8.1) and only to a specific
1.46 "region" of possible URLs (for Webware 0.8.1 and earlier).
1.47
1.48 ---------
1.49 -
1.50 -For Webware releases beyond 0.8.1:
1.51 +For Webware Releases Beyond 0.8.1
1.52 +=================================
1.53
1.54 WebStack applications are supported as contexts within WebKit, meaning that a
1.55 certain prefix in the URL determines whether an application is sent a
1.56 @@ -73,9 +95,8 @@
1.57 The WebStack package must reside on the PYTHONPATH, along with the package
1.58 containing the application itself.
1.59
1.60 ---------
1.61 -
1.62 -For Webware 0.8.1 or earlier:
1.63 +For Webware 0.8.1 or Earlier
1.64 +============================
1.65
1.66 Support for WebStack applications is provided by a Webware plug-in which
1.67 associates Webware resources having certain suffixes with certain WebStack