I decided to learn a bit python, through some web stuff. I installed the
mod_python RPM, and added the requiste lines to httpd.conf. However, the
lines;
<Directory /home/john/public_html/>
AddHandler python-program .py
PythonHandler test
PythonDebug On
</Directory>
are causing trouble. Apache reports;
Syntax error on line 675 of /etc/httpd/conf/httpd.conf:
Invalid command 'PythonHandler', perhaps mis-spelled or defined by a module not included in the server configuration
Yet, I do have:
LoadModule python_module modules/mod_python.so
AddModule mod_python.c
In the httpd.conf, as
http://crom.antefacto.com/manual/mod/mod_python/inst-apacheconfig.htmlhttp://crom.antefacto.com/manual/mod/mod_python/inst-testing.html
seem to suggest. Any ideas what I could be doing so that Apache doesn't
seem to take Load and Add Module into account ?
John
--
_______________________________________
John Looney Chief Scientist
a n t e f a c t o t: +353 1 8586004
www.antefacto.com f: +353 1 8586014
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!