Hi I have the following html which I use as a banner. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <style type="text/css"> body { margin-top: 0px; margin-left: 0px; margin-right: 0px; overflow:hidden; } </style> </head> <body> Test <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="left"><img src="/images/gttlogo.gif" border="0"></td> <td align="right" valign="bottom"><img src="/images/headerAnimation.gif"></td> </tr> </table> </body> </html> Code (markup): On my development server the images render correctly. However on the Production server no images appear. I'm using Apache2 with Phusion Passenger serving a Rails web site. The directory structures and permissions on the 2 servers are identical. I've done the 'basic' things like re-starting and re-loading Apache as well as re-booting the Production Server. That is where my knowledge of Apache ends. Please can anybody help me understand what might be going wrong and better still how to solve it. Thanks in advance for all help. Purvez
The permissions are: drwxr-xr-x for images and the same for it's parent public. That's what is puzzling me. Any other ideas?
Hello there, Try taking the first forward slash out: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <style type="text/css"> body { margin-top: 0px; margin-left: 0px; margin-right: 0px; overflow:hidden; } </style> </head> <body> Test <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="left"><img src="images/gttlogo.gif" border="0"></td> <td align="right" valign="bottom"><img src="images/headerAnimation.gif"></td> </tr> </table> </body> </html> Code (markup): Are both servers the same operating system as well? Chris
Hi Chris Thanks for your reply but I thought I had posted to say that I had solved this. I had checked all permissions up the directory chain BUT had not checked the individual images permissions. They were the culprits .... Aaargh!! Any way thanks for your input and yes the 2 servers Op Sys are the same. Purvez