paulb@19 | 1 | For each application, add an Alias line to httpd.conf to point to the directory
|
paulb@20 | 2 | containing the handler package, then specify the appropriate module name as the
|
paulb@19 | 3 | PythonHandler.
|
paulb@19 | 4 |
|
paulb@20 | 5 | Alias /simple "/home/paulb/Software/Python/WebStack/examples/ModPython/Simple"
|
paulb@19 | 6 |
|
paulb@20 | 7 | <Directory "/home/paulb/Software/Python/WebStack/examples/ModPython/Simple">
|
paulb@20 | 8 | AddHandler python-program .simple
|
paulb@20 | 9 | PythonHandler SimpleHandler
|
paulb@19 | 10 | PythonDebug On
|
paulb@19 | 11 | </Directory>
|
paulb@19 | 12 |
|
paulb@20 | 13 | It would appear that the directory really should be distinct from others
|
paulb@20 | 14 | defined for mod_python, and that the handler should have a distinct name from
|
paulb@20 | 15 | other handlers employed.
|