Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
September 1, 2008 - Submit Your Web Site for the Sept 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2008, 07:45:07 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Since Exodus hardware replacement, inexplicable broken image  (Read 1139 times)
dbrewster
Spaceship Captain
*****
Offline Offline

Posts: 109


« on: December 17, 2007, 08:05:33 AM »

Hi!

I don't have any idea what to attribute this to, but I know that there was a hardware replacement on our server this weekend. Still, I can't fathom how that would explain anything, but here goes.

Without changing stylesheets, a background image in a div will not display, and my Web Developer toolbar utility tells me this image is broken:

http://www.coreknowledge.org/CK/index.htm

   1. http://www.coreknowledge.org/CK/images/rshade2.png

The image is there on the server, with the correct permissions (644), but oddly, one cannot browse to it, unlike all my other background images.


Compare with a similar background image:
   http://www.coreknowledge.org/CK/images/BRtcurveshade2.png

The images are working fine in Dreamweaver, and when tested locally on my computer, with many different web browsers.

What I've tried to do so far, with no success:

1. Replaced Rshade2.gif with rshade2.png
2. Added "display:block; position:relative" to the div where that image goes; no dice.
3. Reformatted the CSS from correct background-image:, background-display; background-position; to single line "background: url(../images/rshade2.png) repeat-y right;" like the other background images; no change.
4. Recreated the graphic, in case there was something wrong with the file
5. Renamed the graphic

What's bizarre is the "broken link" and image not being available. When one tries to go to the image directly, one gets this odd server message:
Quote
Not Acceptable
An appropriate representation of the requested resource /CK/images/rshade2.png could not be found on this server.

Apache/1.3.39 Server at www.coreknowledge.org Port 80

A profound puzzle to me... perhaps I need to bring this to the attention of tech support???

thanks for any advice

... edit: I'm positive this is a server problem. The exact same image, renamed as test.png displays, the image rshade2.png or rshadetwo.png or Rshade2.gif does not display.
« Last Edit: December 17, 2007, 08:28:31 AM by dbrewster » Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Online Online

Posts: 7589



WWW
« Reply #1 on: December 17, 2007, 08:18:06 AM »

You might have already tried this, but have you tried to delete it from the server and then re-upload it?  I would also suggest contacting support@lunarpages.com to see if there is anything server side that would be causing the problem. 
Logged

wektech
Jabba the Hutt
*****
Offline Offline

Posts: 686


WWW
« Reply #2 on: December 17, 2007, 08:25:13 AM »

The image files are returning a 406 header response which is rather odd. Try changing the file name to an entirely different base name and see if the problem continues. In order to find the cause you might want to add the following to your .htaccess file to see if it changes the issue.

<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>
Logged

dbrewster
Spaceship Captain
*****
Offline Offline

Posts: 109


« Reply #3 on: December 17, 2007, 10:56:57 AM »

Thanks Mitch and wektech for the replies!

I discovered that the exact same file renamed "test.png" has no issues, so, I've renamed the image and changed my stylesheet to use it.

I've also submitted a support ticket.

Odd problem!
Logged
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3266



« Reply #4 on: December 20, 2007, 08:51:50 AM »

The name of the file starts with rsh, and some protective software somewhere may be "censoring" that to prevent use of the "rsh" (remote shell) command. I've seen discussion board posts have that happen, but not in HTML or PHP code. For discussions and blogs, the .htaccess lines

# cancel mod security
SecFilterEngine Off
SecFilterScanPOST Off


works -- perhaps it will work for you too. Anyway, the file itself is fine; it's just the name that PHP and the server are possibly objecting to. If it doesn't work, try a name that doesn't start with "rsh". I don't know if it will object to that string in the middle of a name.
Logged

dbrewster
Spaceship Captain
*****
Offline Offline

Posts: 109


« Reply #5 on: December 20, 2007, 07:37:31 PM »

wow, great info MrPhil!! That's the best explanation I've heard.

thanks for sharing that with me. (Lunarpages support couldn't tell me anything, but I haven't pressed it, either.)

I've renamed the file, but I'll keep "rsh--" file names in mind as "verboten".  Thumbs Up

---Diana
Logged
Troy Laclaire
Support
Intergalactic Superstar
*****
Offline Offline

Posts: 186


Darkwolf


« Reply #6 on: January 02, 2008, 02:06:26 PM »

Just to chime in here, since we got a ticket and doesn't appear anyone gave a yes/no answer yet.

File names that start with rsh are forbidden on linux servers due to the potential running of shell commands.

It should not affect file names such as "marsh.jpg" but will block such as "rshade2.png".

This is done to insure the security and stability of the shared servers.

Now off for a pizza... 

Logged

dbrewster
Spaceship Captain
*****
Offline Offline

Posts: 109


« Reply #7 on: January 03, 2008, 03:02:50 PM »

thanks, I did see a reply about this to my support desk issue, stating what Troy states here! The new server configuration for Exodus introduced this change, FYI.

I have gotten good support from LP, I'm a happy customer. Sometimes it takes a round or two of dialog to get the right answer.

---Diana
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM