# HG changeset patch # User paulb # Date 1149893928 0 # Node ID 4390d40b4195fbb82b65b700a2888d664e02be8e # Parent 00ab8951571c491a95979ad3e31cbae1d51b261a [project @ 2006-06-09 22:58:41 by paulb] Added the Apache and Java Servlet configuration/build tools as installed scripts in the setup script. diff -r 00ab8951571c -r 4390d40b4195 docs/CGI/NOTES.txt --- a/docs/CGI/NOTES.txt Fri Jun 09 22:58:34 2006 +0000 +++ b/docs/CGI/NOTES.txt Fri Jun 09 22:58:48 2006 +0000 @@ -1,10 +1,11 @@ Configuring Apache ================== -To configure applications without authenticators, use the config.py script -in tools/Apache to set up CGI applications. For example: +To configure applications without authenticators, use the +webstack_apache_config.py script (installed with setup.py but also found in +tools/Apache) to set up CGI applications. For example: -python tools/Apache/config.py \ +python webstack_apache_config.py \ CGI \ /home/paulb/Software/Python/WebStack/examples/CGI/CookiesApp.py \ /etc/apache2/sites-available \ diff -r 00ab8951571c -r 4390d40b4195 docs/JavaServlet/NOTES.txt --- a/docs/JavaServlet/NOTES.txt Fri Jun 09 22:58:34 2006 +0000 +++ b/docs/JavaServlet/NOTES.txt Fri Jun 09 22:58:48 2006 +0000 @@ -1,11 +1,11 @@ Preparing the Application ========================= -Use the build.py script in the tools/JavaServlet directory to create a Web -application directory. Then, deploy the directory in the servlet container. For -example: +Use the webstack_java_build.py script (installed by setup.py but also found in the +tools/JavaServlet directory) to create a Web application directory. Then, +deploy the directory in the servlet container. For example: -jython tools/JavaServlet/build.py examples/JavaServlet/SimpleApp.py \ +jython webstack_java_build.py examples/JavaServlet/SimpleApp.py \ examples/Common/Simple/ \ . \ web.xml \ @@ -35,13 +35,13 @@ WebStack resource without additional configuration being performed first: * The web.xml template should be replaced with the protected-web.xml - template in the build.py command. This alternative template produces a - special deployment descriptor which introduces role-based authentication for - the application. Consequently, upon seeing that the application requires a - user with a given role, Tomcat will prompt for the username/password details - of a user with that role, and once such a user has been authenticated, the - resulting user identity is then made available via the API to the - application. + template in the webstack_java_build.py command. This alternative template + produces a special deployment descriptor which introduces role-based + authentication for the application. Consequently, upon seeing that the + application requires a user with a given role, Tomcat will prompt for the + username/password details of a user with that role, and once such a user + has been authenticated, the resulting user identity is then made available + via the API to the application. * The server.xml configuration file in Tomcat should declare the protected application as a privileged context; for example: diff -r 00ab8951571c -r 4390d40b4195 docs/ModPython/NOTES.txt --- a/docs/ModPython/NOTES.txt Fri Jun 09 22:58:34 2006 +0000 +++ b/docs/ModPython/NOTES.txt Fri Jun 09 22:58:48 2006 +0000 @@ -1,10 +1,11 @@ Configuring Apache ================== -To configure applications without authenticators, use the config.py script -in tools/Apache to set up mod_python applications. For example: +To configure applications without authenticators, use the +webstack_apache_config.py script (installed with setup.py but also found in +tools/Apache) to set up mod_python applications. For example: -python tools/Apache/config.py \ +python webstack_apache_config.py \ mod_python \ /home/paulb/Software/Python/WebStack/examples/ModPython/CookiesApp/CookiesHandler.py \ /etc/apache2/sites-available \