1.1 --- a/docs/ModPython/NOTES.txt Sun May 01 13:29:05 2005 +0000
1.2 +++ b/docs/ModPython/NOTES.txt Sun May 01 13:56:53 2005 +0000
1.3 @@ -1,3 +1,22 @@
1.4 +Configuring Apache:
1.5 +
1.6 +To configure applications without authenticators, use the config.py script
1.7 +in tools/Apache to set up mod_python applications. For example:
1.8 +
1.9 +python tools/Apache/config.py \
1.10 + mod_python \
1.11 + /home/paulb/Software/Python/WebStack/examples/ModPython/CookiesApp/CookiesHandler.py \
1.12 + /etc/apache2/sites-available \
1.13 + cookies-mod \
1.14 + /cookies \
1.15 + .cookies
1.16 +
1.17 +This script can also be used to configure CGI applications.
1.18 +
1.19 +--------
1.20 +
1.21 +The manual approach:
1.22 +
1.23 For each application, add an Alias line to httpd.conf to point to the directory
1.24 containing the handler package, then specify the appropriate module name as the
1.25 PythonHandler.