[drupal-docs] XMLRPC 406 error - one solution

Jeff Eaton jeaton at rvsinfo.com
Tue Jul 19 20:45:23 UTC 2005


Some hosting providers (at least one -- mine!) may disable xmlrpc.php
scripts to plug security holes in older versions of the XMLRPC
libraries. If you've installed Drupal and enabled the BlogAPI module or
the Drupal login module on such a provider, you'll get "406 errors" when
you try to use the features.
 
One possible solution (aside from convincing your provider to turn the
relatively ineffective security measure off) is to rename the xmlrpc.php
file in drupal's main directory. While this is bad and will make
upgrading a bit of a hassle, it can get you up and running.
 
You'll have to alter blogapi.module to point to the newly renamed file,
as well as any other modules that point to xmlrpc.php. In the case of
blogapi.module, the reference can be found on line 560:
 
560:   $xmlrpc = $base_url .'/'. 'xmlrpc.php';
 
This is a crummy solution in the long run, but an afternoon of
troubleshooting culminated in this tweak. chx recommended that I post it
and notify the docs team.
 
--Eaton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://drupal3.drupal.org/pipermail/documentation/attachments/20050719/ff5aa0bf/attachment.htm


More information about the drupal-docs mailing list