Jump to content

Unable To Add Imageshack Thumbnails Into Posts


Robmonster

Recommended Posts

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 by Robmonster
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 years later...
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 by paco
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...