Title: xmlrpc solution on shared hosting
Last modified: August 18, 2016

---

# xmlrpc solution on shared hosting

 *  [Vic Drover](https://wordpress.org/support/users/vdrover/)
 * (@vdrover)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/xmlrpc-solution-on-shared-hosting/)
 * A lot of people have been having trouble getting their blog client (Journler 
   for instance on OS X) to play nice with the Metaweblog API (xmlrpc.php) when 
   wordpress is installed on a shared hosting service. I found a solution to this
   on these forums, but it was not easy to find, so i am re-posting here.
 * If you are getting errors connecting to xmlrpc.php in your client, try adding
   the following to your .htaccess file.
 * <Files xmlrpc.php>
    SecFilterInheritance Off </Files>
 * Those having trouble with Journler in particular might also find this thread 
   of interest: [http://www.journler.com/community/forums/viewtopic.php?p=10460#10460](http://www.journler.com/community/forums/viewtopic.php?p=10460#10460)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [juliannay](https://wordpress.org/support/users/juliannay/)
 * (@juliannay)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/xmlrpc-solution-on-shared-hosting/#post-588540)
 * This solution worked well for me when my server was using php4, but I get Internal
   Server Errors when on php5.
 * The error returned is:
 * > Invalid command ‘SecFilterInheritance’, perhaps misspelled or defined by a 
   > module not included in the server configuration
 * The server is using php 5.2.5, and my host has confirmed the command is not available
   anymore ([http://forums.wirenine.com/showthread.php?p=1522#post1522](http://forums.wirenine.com/showthread.php?p=1522#post1522)).
 * Is there another way to make the Metaweblog API work on php5? If it makes a difference,
   I’m trying to use Ma.gnolia’s blog posting feature (which worked fine with the
   SecFilterInheritance Off command on php4).
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/xmlrpc-solution-on-shared-hosting/#post-588541)
 * It being unavailable has nothing to do with the version of PHP you are on. That
   directive is disabling mod_security, an Apache module that has absolutely nothing
   to do with PHP.
 * Its also for mod_security 1.9x, which is pretty outdated.
 * Ask your host if they are running mod_security 2?
 *  [juliannay](https://wordpress.org/support/users/juliannay/)
 * (@juliannay)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/xmlrpc-solution-on-shared-hosting/#post-588542)
 * After searching the web a bit and some back and forth with my host, I’ve found
   the problem. It seems my host upgraded to ModSecurity 2, and disabling it is (
   a) no longer possible through the htaccess file and (b) if they disable it for
   me, it would be for my entire website rather than just the xmlpc file.
 * If anyone else is having this problem, first try one of the following:
    - the solution above
    - [http://www.red-sweater.com/forums/viewtopic.php?pid=3218](http://www.red-sweater.com/forums/viewtopic.php?pid=3218)
    - [http://www.mydigitallife.info/2006/10/21/remove-and-uninstall-or-disable-modsecurity-mod_security/](http://www.mydigitallife.info/2006/10/21/remove-and-uninstall-or-disable-modsecurity-mod_security/)
 * If you get crazy errors with those fixes, it’s likely ModSecurity can only be
   disabled through the Apache config file, which must be done by your host. Again,
   this can only be done for your entire site and not just the Metaweblog API file(
   xmlpc.php, in most cases), so you’ll need to consider the security risk before
   requesting it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘xmlrpc solution on shared hosting’ is closed to new replies.

## Tags

 * [metaweblog](https://wordpress.org/support/topic-tag/metaweblog/)
 * [xmlrpc](https://wordpress.org/support/topic-tag/xmlrpc/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [juliannay](https://wordpress.org/support/users/juliannay/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/xmlrpc-solution-on-shared-hosting/#post-588542)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
