1.1 --- a/docs/JavaServlet/NOTES.txt Tue Jul 12 14:12:01 2005 +0000
1.2 +++ b/docs/JavaServlet/NOTES.txt Tue Jul 12 14:12:14 2005 +0000
1.3 @@ -1,4 +1,5 @@
1.4 -Preparing the application using the build script:
1.5 +Preparing the Application
1.6 +=========================
1.7
1.8 Use the build.py script in the tools/JavaServlet directory to create a Web
1.9 application directory. Then, deploy the directory in the servlet container. For
1.10 @@ -27,9 +28,8 @@
1.11
1.12 http://localhost:8080/SimpleApp/
1.13
1.14 ---------
1.15 -
1.16 -Authentication/authorisation with Apache Tomcat:
1.17 +Authentication/Authorisation with Apache Tomcat
1.18 +===============================================
1.19
1.20 In Apache Tomcat, it is not typically possible to use an authenticator with a
1.21 WebStack resource without additional configuration being performed first:
2.1 --- a/docs/ModPython/NOTES.txt Tue Jul 12 14:12:01 2005 +0000
2.2 +++ b/docs/ModPython/NOTES.txt Tue Jul 12 14:12:14 2005 +0000
2.3 @@ -1,4 +1,5 @@
2.4 -Configuring Apache:
2.5 +Configuring Apache
2.6 +==================
2.7
2.8 To configure applications without authenticators, use the config.py script
2.9 in tools/Apache to set up mod_python applications. For example:
2.10 @@ -11,11 +12,17 @@
2.11 /cookies \
2.12 .cookies
2.13
2.14 -This script can also be used to configure CGI applications.
2.15 +This script can also be used to configure CGI applications. Run the script
2.16 +without any arguments to see the documentation.
2.17 +
2.18 +With the above command, the "cookies" application should be visitable with
2.19 +URLs resembling these:
2.20
2.21 ---------
2.22 +http://localhost/cookies/test.cookies
2.23 +http://localhost/cookies/my.cookies
2.24
2.25 -The manual approach:
2.26 +The Manual Approach
2.27 +-------------------
2.28
2.29 For each application, add an Alias line to httpd.conf to point to the directory
2.30 containing the handler package, then specify the appropriate module name as the
2.31 @@ -51,9 +58,8 @@
2.32 /agenda/my-agenda.simple
2.33 /simple/tasks/my-tasks.simple
2.34
2.35 ---------
2.36 -
2.37 -Authentication/authorisation in mod_python:
2.38 +Authentication/Authorisation in mod_python
2.39 +==========================================
2.40
2.41 Apache imposes fairly strict controls over authentication, requiring the
2.42 addition of various declarations in the configuration in order to impose
2.43 @@ -81,9 +87,8 @@
2.44 the users file and the appropriate access policy, must obviously be defined
2.45 according to the actual application concerned.
2.46
2.47 ---------
2.48 -
2.49 -Session storage with mod_python:
2.50 +Session Storage with mod_python
2.51 +===============================
2.52
2.53 The very simple SessionStore class provided in WebStack.Helpers.Session, and
2.54 used by the WebStack.ModPython.Transaction class, requires that a directory be