Showing differences between /etc/apache2/modules.d/16_mod_python.conf and /etc/apache2/modules.d/._cfg0000_16_mod_python.conf --- /etc/apache2/modules.d/16_mod_python.conf 2007-05-19 00:21:07.000000000 +0200 +++ /etc/apache2/modules.d/._cfg0000_16_mod_python.conf 2008-05-31 12:54:55.000000000 +0200 @@ -1,50 +1,33 @@ - - LoadModule python_module modules/mod_python.so - - +LoadModule python_module modules/mod_python.so - -# # Mod_python is a module that embeds the Python language interpreter # within the server, allowing Apache handlers to be written in Python. -# - - # this requires .py extension to be always in URL - AddHandler mod_python .py - # - # this does not require .py extension in URL, but will always use python to execute - # SetHandler mod_python - # - PythonHandler mod_python.publisher - PythonDebug On - # This will cause files beneath /home/httpd/htdocs with the extension .spam # to be handled by the Python script /home/httpd/htdocs/eggs.py # # -# -# AddHandler python-program .spam -# -# PythonHandler eggs +# AddHandler python-program .spam +# PythonHandler eggs # # This will cause all requests to the /python heirachy of your # webserver to be handled by the python script /path/to/myhandler.py # # -# SetHandler python-program -# PythonPath "sys.path + ['/path/to']" -# PythonHandler myhandler +# SetHandler python-program +# PythonPath "sys.path + ['/path/to']" +# PythonHandler myhandler # # This will cause all requests to the /python heirachy of your # webserver to be handled by mod_python's Publisher handler # # -# SetHandler python-program -# PythonHandler mod_python.publisher +# SetHandler python-program +# PythonHandler mod_python.publisher # + - +# vim: ts=4 filetype=apache