LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] playing with python

[Webdev] playing with python

John P. Looney john at antefacto.com
Wed Feb 20 12:36:10 GMT 2002


 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.html
http://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





More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell