Re: xmlrpc 404 errors
Sjan Evardsson <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Ok, I changed get to GET in the telnet session, and calling via the Apache rewrite (which works for viewing the posts, comments, trackbacks, etc) returns a 404 error. Using GET http://hostname/cgi-bin/pyblosxom/pyblosxom.cgi?/RPC returns the usual html one would get from normal browsing to the site. :-/ Sjan Quoting Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>: > hi sjan! i haven't used or read through the xmlrpc plugins before, and > i don't quite have time to ramp up on them now, but i might later this > weekend. feel free to ping me if you still haven't gotten them working > by, say, sunday. > > also, if you do get them to work, would you mind pinging the list with > the answer, so we can add it to the docs? :P > > On Wed, 8 Nov 2006, Sjan Evardsson wrote: > >> Nope - it looks like it may be stickier than I thought. What I am >> getting is: >> >> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> >> <html><head> >> <title>501 Method Not Implemented</title> >> </head><body> >> <h1>Method Not Implemented</h1> >> <p>get to /top/RPC not supported.<br /> >> </p> >> </body></html> >> >> (don't know why I didn't think of telnet 80 earlier) >> >> Sjan >> >> Quoting Lance Levsen <lance-8fVGZEMlguYsA/[email protected]>: >> >>> Hey Sjan. >>> >>> I have this setup correctly on one of the blogs I host. It is being used >>> with blogtk. >>> >>> Here's a good test to see if it is your setup or Ecto. >>> >>> $> telnet localhost 80 >>> get http://hostname/path/to/blog/RPC >>> >>> You should then get something that looks like this: >>> <?xml version='1.0'?> >>> <methodResponse> >>> <fault> >>> <value><struct> >>> <member> >>> <name>faultCode</name> >>> <value><int>1</int></value> >>> </member> >>> <member> >>> <name>faultString</name> >>> <value><string>exceptions.ValueError: invalid literal for int(): >>> </string></value> >>> </member> >>> </struct></value> >>> </fault> >>> </methodResponse> >>> Connection closed by foreign host. >>> >>> If you're getting that, then pyblosxom is setup correctly as is Apache. >>> So then you know that Ecto is borken. >>> >>> I haven't used Ecto, so I don't know anything about that. You configs >>> look the same as here + a few plugins. >>> >>> Cheers, >>> lance >>> >>> Sjan Evardsson wrote: >>>> I am trying to set up pyblosxom to use Ecto (with metaweblog, blogger, >>>> xmlrpc plugins) but I seem to be getting 404 errors when trying to >>>> connect Ecto to mysite.dom/cgi-bin/pyblosxom/pyblosxom.cgi/RPC >>>> (whether I do it that way or through the Apache rewrites) >>>> >>>> relevant config lines: >>>> >>>> py['load_plugins'] = ["xmlrpc", "abstract", "breadcrumbs", "comments", >>>> "folksonomy", "getstamps", "hardcodedates", "lucene", "magicword", >>>> "native", "plugininfo", "pyarchives", "pycalendar", "pycategories", >>>> "pyfilenamemtime", "pygoogle", "pyinclude", "pystaticfile", >>>> "readmore", "robots", "rss2renderer", "title", "trackback", "w3cdate", >>>> "wbglast10summary", "xmlrpc_blogger", "xmlrpc_metaweblog", >>>> "xmlrpc_pingback"] >>>> >>>> py['xmlrpc_usernames'] = {'username_scrubbed': 'password_scrubbed'} >>>> py['xmlrpc_urltrigger'] = "/RPC" >>>> py['xmlrpc_maxrequest_length'] = 10000 >>>> py['xmlrpc_blogger_metaweblog'] = 'True' >>>> py['xmlrpc_metaweblog_ping'] = 'True' >>>> >>>> >>>> Any hints? >>> -- >>> Lance Levsen, >>> Catprint Computing >>> Tel: (306) 493-2249 >>> Cell: (306) 230-8783 >>> Blog: http://www.catprint.ca/blog/ >>> SaskBlogs: http://saskblogs.catprint.ca/ >>> >>> >> >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> pyblosxom-users mailing list >> pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> https://lists.sourceforge.net/lists/listinfo/pyblosxom-users >> > > -Ryan > > -- > http://snarfed.org/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642