Robmonster Posted June 13, 2006 Share Posted June 13, 2006 (edited) I've stumbled across a very odd problem on my MT 3.2 installation. I'm unable to add any Imageshack thumbnail codes into my entries. When I attempt to Save or Preview such an entry I get the message:- 406: Not Acceptable An appropriate representation of the requested resource /mt/mt.cgi could not be found on this server. This used to work perfectly fine, as can be witnessed by the following pages on my site:- http://www.boringbutgood.com/mlsn/archives...r_vs_boomstick/ If I try to add the following code into an entry body then I get the error ><a href="http://img228.imageshack.us/my.php?image=cartierresearch11sr.gif" target="_blank"><img src="http://img228.imageshack.us/img228/7384/cartierresearch11sr.th.gif" border="0" alt="Free Image Hosting at www.ImageShack.us" /></a> In order to get it to save I have to change every instance of the word 'image' to 'imge' or something similar, which of course breaks the link. This makes absolutely zero sense to me. I haven't made any changes to my installation, no plugin installations or setting changes at all. I've even tried disabling ALL plugins to no avail. I can only assume this is something serverside. I'm on server121. Can someone else try posting the code snippet above to their install under TCH to see if its accepted? RM Edited June 13, 2006 by Robmonster Quote Link to comment Share on other sites More sharing options...
Robmonster Posted June 13, 2006 Author Share Posted June 13, 2006 I did some further research and found this page:- http://www.vbulletin.com/forum/archive/ind...p/t-174960.html It describes a very similar problem to mine. Its apparently caused by the mod_security Apache module filtering the HTTP post request. That doiesnt mean a great deal to me, but I followed the suggestion of adding 'SecFilterEngine Off' to my .htaccess file and the problem is cleared. However, why has this been changed? Also, what is the downside to me adding the line above to htaccess? RM Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted June 14, 2006 Share Posted June 14, 2006 Its apparently caused by the mod_security Apache module filtering the HTTP post request. I would imagine that it was done for security reasons. If you need more information about it please open a help desk ticket. Link above or in my signature. Quote Link to comment Share on other sites More sharing options...
paco Posted August 24, 2008 Share Posted August 24, 2008 (edited) I would imagine that it was done for security reasons. If you need more information about it please open a help desk ticket. Link above or in my signature. I have a new dedicated server, and I've had this problem. With phpbb 3.0.2, users can't post any text that include the "images" word (in a link). For example: www.imageshack.us The problem is Apache's ModSecurity related. The solution is disable ModSecurity (as you did) , or, if you have access to ModSecurity configuration, disable this line: SecFilterSelective "THE_REQUEST|POST_PAYLOAD|ARG_VALUES" "\.images.*" Please, if any TCH gurus think this last option could be risky, tell me another solution. Thanks in advance. Edited August 24, 2008 by paco 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.