rgtozavb Posted November 29, 2006 Share Posted November 29, 2006 (edited) I am using wordpress. On some pages/posts, that I write or import, when I attempt to update I get a 406 error stating... Not Acceptable An appropriate representation of the requested resource /wp-admin/post.php could not be found on this server. However, post.php is there, and I can make certain posts. Some say this might be a permissions problem with some HTML in some of my posts. They came to their hosts for a resolution and seemed to solve it. So I am making this post. Some have asked about "Mod Security" Any help, clues, things I can try, permissions I need to change or anything? Edited November 29, 2006 by rgtozavb Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted November 29, 2006 Share Posted November 29, 2006 See if this solution helps. Quote Link to comment Share on other sites More sharing options...
rgtozavb Posted November 30, 2006 Author Share Posted November 30, 2006 See if this solution helps. That link is dead. Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted November 30, 2006 Share Posted November 30, 2006 I just googled this and it looks like may be a mod security problem. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted November 30, 2006 Share Posted November 30, 2006 Try this link which states to update your .htaccess file to include the following. ><IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> The other link was working when I posted it. Remember to make a backup copy of your .htaccess file before editing it. Quote Link to comment Share on other sites More sharing options...
rgtozavb Posted November 30, 2006 Author Share Posted November 30, 2006 Try this link which states to update your .htaccess file to include the following. ><IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> The other link was working when I posted it. Remember to make a backup copy of your .htaccess file before editing it. Awesome, this is exactly what I was looking for. Wordpress support is really lacking. They mention this exact change, but do not say how to do it, just edit your .htaccess file. I will back up and try it, thank you. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted November 30, 2006 Share Posted November 30, 2006 Let us know how you make out. Quote Link to comment Share on other sites More sharing options...
rgtozavb Posted November 30, 2006 Author Share Posted November 30, 2006 Well initial tests seem to show that it worked, thank you. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted November 30, 2006 Share Posted November 30, 2006 Great, glad we could help. Quote Link to comment Share on other sites More sharing options...
Vancouver Lady Posted April 24, 2007 Share Posted April 24, 2007 Hi TCH, Quick history: * I am using Windows Live Writer to publish to my blog (and I've used it successfully on other blogs -- hosted on other webhosts -- for several months) * Yesterday I was able to make my initial post without problems * Made some changes after that to the sidebar. This morning I'm getting the error message.... Error attempting to connect to weblog at:http://www.happyhysterectomy.com/blog/xmlrpc.php The remote server returned an error: (406) Not Acceptable. I added the changes mentioned earlier in this thread to my .htaccess file. Now I'm getting: Error attempting to connect to weblog at:http://www.happyhysterectomy.com/blog/xmlrpc.php The remote server returned an error: (500) Internal Server Error. I AM able to make changes to the blog from within Wordpress itself. I'm not sure if I added the code correctly. Here's what my edited .htaccess looks like... # BEGIN WordPress<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule><IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> # END WordPress Any suggestions, guys? Thanks, Sheila Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 24, 2007 Share Posted April 24, 2007 I'm not sure if a line break is required but try starting the second If on it's own line. ># BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> # END WordPress <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> Quote Link to comment Share on other sites More sharing options...
Vancouver Lady Posted April 24, 2007 Share Posted April 24, 2007 I'm not sure if a line break is required but try starting the second If on it's own line. Bingo! Thanks, Bruce! You're a prince! Cheers, Sheila Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 24, 2007 Share Posted April 24, 2007 Glad it worked. Quote Link to comment Share on other sites More sharing options...
cephyn Posted May 1, 2007 Share Posted May 1, 2007 I too had this wordpress problem, and I used the solution posted here (from urbangiraffe) - and it worked. However, after a day or two, my .htaccess file reverts back to the old version without the fix, and I have to do it all over again. Who does this, why, and is there a compromise workaround that works for both parties? Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted May 1, 2007 Share Posted May 1, 2007 Your .htaccess file should not be changing unless you are using something in cPanel that would cause it to change. Quote Link to comment Share on other sites More sharing options...
rnmcd Posted June 1, 2007 Share Posted June 1, 2007 Try this link which states to update your .htaccess file to include the following. ><IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> The other link was working when I posted it. Remember to make a backup copy of your .htaccess file before editing it. Doesn't that code just disable mod_security? I am having the same error/issue as mentioned above. My software/script support says the error is due to ' misconfigured or overly strict mod_security rules set by your host". Should we disable mod_security or contact TCH support to look at mod_security itself along with the related issues we have been experiencing? Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted June 1, 2007 Share Posted June 1, 2007 I don't see support changing the mod security settings on the server so if you are having this issue the only thing you can do is disable it as suggested. Quote Link to comment Share on other sites More sharing options...
Stevey Posted December 31, 2007 Share Posted December 31, 2007 I am really sorry to bump but this was the page Google returned for me first. Okay, my blog is located at www.stevey.stevey.biz, I know stupid double name but I need some help on getting the latest Windows Live Writer to work with my Wordpress blog, I've done some of mods to .htaccess but it still won't work an I get an 500 Internal Server Error when I type in "http://stevey.biz/stevey/xmlrpc.php" on the "Select Provider" step, I have Wordpress 2.3.2. This is how my .htaaccess file looks: ># BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /stevey/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /stevey/index.php [L] </IfModule> # END WordPress <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> <Files xmlrpc.php> SecFilterInheritance Off </Files> I've given you all the information I can, please try to help me I've been stuck with this step for about 3 months. This seems like the best forum to ask so I hope you can help. Quote Link to comment Share on other sites More sharing options...
TCH-Andy Posted December 31, 2007 Share Posted December 31, 2007 Hi Stevey, welcome to the forums Were you getting the 406 error without the mod_security and mod_filters rules ? Quote Link to comment Share on other sites More sharing options...
Stevey Posted December 31, 2007 Share Posted December 31, 2007 With a empty htacess file I get a 406 error then with the content I posted above I get a 500 error, I have no idea what to do :/ Quote Link to comment Share on other sites More sharing options...
TCH-Andy Posted December 31, 2007 Share Posted December 31, 2007 Have you talked to your host, and asked them to check it out for you ? I'd also remove the ><Files xmlrpc.php> SecFilterInheritance Off </Files> since you have already turned SecFilterEngine Off Quote Link to comment Share on other sites More sharing options...
Stevey Posted December 31, 2007 Share Posted December 31, 2007 (edited) Well my friend owns my server which as far as I know is private to my website so I'll ask him when I get the chance, I've been trying to get this working for months now, I'll remove that part Edit: I checked my cPanel error logs and the problem was that xmlrpc.php was Chmoded at 777 then changing it to 755 did the trick Edited December 31, 2007 by Stevey Quote Link to comment Share on other sites More sharing options...
TCH-Andy Posted December 31, 2007 Share Posted December 31, 2007 I'm glad you have it sorted. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.