Jump to content

Is Tch Blocking Imageshack.us?


flamey

Recommended Posts

I have phpBB forum, and whenever soneone's trying to include image hosted on imageshack.us in the their post they get an "406 Not Acceptable" error. This does not happen with other image hosts. People are wondering, and so am I. On phpBB support forum I've read that this is a "server-side problem - your host has decided to block POST packets containing whatever is special about the imageshack links".

 

Is this true?

If it is, what other image hosts are being blocked (so I can let users know which sites not to use)? And what's the reason for this blocking, if not a secret?

 

Thanks!

Link to comment
Share on other sites

The site in question was not blocked by TCH. The suspectable lengthy URLs will be caught by mod_security filter on the server when executing. As you have disabled mod_security for your account through help desk ticket, the issue has resolved itself.

Link to comment
Share on other sites

The site in question was not blocked by TCH. The suspectable lengthy URLs will be caught by mod_security filter on the server when executing. As you have disabled mod_security for your account through help desk ticket, the issue has resolved itself.

 

on this very forum, try to reply to this post with only single line:

http://www.image2shack.us/

only remove "2" in the middle, don't even need to use IMG tag. and you'll get the same error.

 

add the "2" in the middle - no problem.

 

i do appreciate you help in resolving it on my account, thank you. i'm just wondering that's up with this...

Edited by flamey
Link to comment
Share on other sites

i didn't say go visit it :helpsmilie:

 

it just proves my confusion: you CAN include any web address in your post, weather domain exists or not — see its up there and its clickable... but not imageshack.us (note, that if forum engine doesn't attempt to render it as a URI, like here when did not include www prefix, its ok, its just text). but as soon as you include it -- you'll get error 406 Not Acceptable!

Link to comment
Share on other sites

  • 1 month later...

Same problem here. Any photo from Imageshack gets a 406 unacceptable error. I have the same IPB software as this forum. From what I've been told the mod_security rules may be overly strict or something? Is there a fix in the works other than disabling it in the .htaccess file (which may not be very secure)?

Edited by gtman55
Link to comment
Share on other sites

mod_security is an Apache module (for Apache 1 and 2) that provides intrusion detection and prevention for web applications. It aims at shielding web applications from known and unknown attacks, such as SQL injection attacks, cross-site scripting, path traversal attacks, etc.

 

Obviously, disabling mod_security will turn off this security measures.

 

But, you can turn off mod_security for a specific file in your account. For example if the file image-upload.php is calling the external image url, you can turn off mod_security for the upload script only like

 

 

<IfModule mod_security.c>

<Files image-upload.php >

SecFilterEngine Off

SecFilterScanPOST Off

</Files>

</IfModule>

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...