[mod_python] mod_python as xml-rpc server

Robert Sanderson azaroth at liverpool.ac.uk
Fri Mar 5 13:33:01 EST 2004


> After much fighting to get mod_python working with a xml-rpc handler 
> I've sort of figured out some things that together seemed to help me. To 
> use xmlrpclib with mod_python to create a xml-rpc server it's best to 
> use a 3.x version of mod_python and to install sgmlop because expat 
> doesn't seem to work. Just thought I'd share in case anyone else has 
> similar problems.

I fixed this just yesterday, as it turns out, for 4Suite.

The expat which Python needs is exactly 1.95.6  1.95.5 has a seg fault bug 
in it that will take down python.  1.95.7 has new symbols that prevent 
linking.

My fix was to uninstall 95.5 (default in Redhat 9) and install 95.6 
everywhere, then recompile everything (apache, mod_python, python, 4suite)
With some judicious use of LD_LIBRARY_PATH, everything works fine.

Rob

-- 
      ,'/:.          Dr Robert Sanderson (azaroth at liverpool.ac.uk)
    ,'-/::::.        http://www.o-r-g.org/~azaroth/
  ,'--/::(@)::.      Special Collections and Archives, extension 3142
,'---/::::::::::.    Nebmedes:  http://nebmedes.o-r-g.org:8000/
____/:::::::::::::.  
I L L U M I N A T I  





More information about the Mod_python mailing list