Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache fails to load images

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache Cluster HOWTO?  
Author Message
user2816

External


Since: Jun 09, 2004
Posts: 2



(Msg. 1) Posted: Wed Jun 09, 2004 2:53 pm
Post subject: Apache fails to load images
Archived from groups: alt>apache>configuration (more info?)

Hi everyone,

first of all: Please excuse this stupid subject, but I just was not
able to find a name for the problem. The case is as follows:

I have a apache2 (2.0.4Cool running on my w2k PC (hey, no laughter) to
develop a website. I wrote a php (4.3.4) script to search a certain
directory and to create thumbnails of jpg pictures in that directory.
I ran the script and I got a php timeout because the images were too
large and it took too long to create the thumbs. From this moment on I
fail to load certain images which have nothing to do with the images
in the directory. They seem to be random to me and its always the same
ones. For example in my index page I have 5 images. 4 load and are
shown regularly, one fails. All 5 are no thumbs created by the script
nor in the directory the script used.

OMHO it cant be a browser error, cause both IE and Netscape cause
exactly the same problem. Therefore I reinstalled the apache but I
still have the same problem. I also checked the file modes. They are
all readable and the file is not corrupted.

The only clue I got is the apache access log shows a 206 as HTTP code.
But I didn't really found out what it means except that the server
only sent a part of the data. (Did I get that right??)

Does anyone have an idea?? I included the interesting part of the log
file. I hope you can help me, cause developing a website is no fun if
you cant see it!!

"GET / HTTP/1.1" 200 899
"GET /Bilder/index_01.gif HTTP/1.1" 200 13185
"GET /Bilder/index_03.gif HTTP/1.1" 200 490
"GET /Bilder/index_04.gif HTTP/1.1" 200 294
"GET /Bilder/index_05.gif HTTP/1.1" 200 729
"GET /Bilder/index_02.gif HTTP/1.1" 200 293
"GET /Bilder/index_01.gif HTTP/1.1" 200 13185
"GET /Bilder/index_01.gif HTTP/1.1" 206 13185
"GET / HTTP/1.1" 304 -
"GET /Bilder/index_02.gif HTTP/1.1" 304 -
"GET /Bilder/index_03.gif HTTP/1.1" 304 -
"GET /Bilder/index_04.gif HTTP/1.1" 304 -
"GET /Bilder/index_05.gif HTTP/1.1" 304 -
"GET /Bilder/index_01.gif HTTP/1.1" 206 4096

Yours sincerely,

Nick

 >> Stay informed about: Apache fails to load images 
Back to top
Login to vote
kieran

External


Since: May 24, 2004
Posts: 25



(Msg. 2) Posted: Thu Jun 10, 2004 1:30 am
Post subject: Re: Apache fails to load images [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Nicholas Hartmann" <Nicholas.Hartmann.RemoveThis@gmx.de> wrote in message
news:9802116f.0406091053.2711be9d@posting.google.com...
 > Hi everyone,
 >
 > first of all: Please excuse this stupid subject, but I just was not
 > able to find a name for the problem. The case is as follows:
 >
 > I have a apache2 (2.0.4Cool running on my w2k PC (hey, no laughter) to
 > develop a website. I wrote a php (4.3.4) script to search a certain
 > directory and to create thumbnails of jpg pictures in that directory.
 > I ran the script and I got a php timeout because the images were too
 > large and it took too long to create the thumbs. From this moment on I
 > fail to load certain images which have nothing to do with the images
 > in the directory. They seem to be random to me and its always the same
 > ones. For example in my index page I have 5 images. 4 load and are
 > shown regularly, one fails. All 5 are no thumbs created by the script
 > nor in the directory the script used.
 >
 > OMHO it cant be a browser error, cause both IE and Netscape cause
 > exactly the same problem. Therefore I reinstalled the apache but I
 > still have the same problem. I also checked the file modes. They are
 > all readable and the file is not corrupted.

Some people have been having problems like this caused by zonealarm or other
personal firewalls. Disable your firewall and see if it fixes the problem.

 >
 > The only clue I got is the apache access log shows a 206 as HTTP code.
 > But I didn't really found out what it means except that the server
 > only sent a part of the data. (Did I get that right??)
 >
 > Does anyone have an idea?? I included the interesting part of the log
 > file. I hope you can help me, cause developing a website is no fun if
 > you cant see it!!
 >
 > "GET / HTTP/1.1" 200 899
 > "GET /Bilder/index_01.gif HTTP/1.1" 200 13185
 > "GET /Bilder/index_03.gif HTTP/1.1" 200 490
 > "GET /Bilder/index_04.gif HTTP/1.1" 200 294
 > "GET /Bilder/index_05.gif HTTP/1.1" 200 729
 > "GET /Bilder/index_02.gif HTTP/1.1" 200 293
 > "GET /Bilder/index_01.gif HTTP/1.1" 200 13185
 > "GET /Bilder/index_01.gif HTTP/1.1" 206 13185
 > "GET / HTTP/1.1" 304 -
 > "GET /Bilder/index_02.gif HTTP/1.1" 304 -
 > "GET /Bilder/index_03.gif HTTP/1.1" 304 -
 > "GET /Bilder/index_04.gif HTTP/1.1" 304 -
 > "GET /Bilder/index_05.gif HTTP/1.1" 304 -
 > "GET /Bilder/index_01.gif HTTP/1.1" 206 4096
 >
 > Yours sincerely,
 >
 > Nick<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache fails to load images 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 3) Posted: Thu Jun 10, 2004 2:50 am
Post subject: Re: Apache fails to load images [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Nicholas Hartmann" <Nicholas.Hartmann.DeleteThis@gmx.de> schreef in bericht
news:9802116f.0406091053.2711be9d@posting.google.com...
 > Hi everyone,
 >
 > first of all: Please excuse this stupid subject, but I just was not
 > able to find a name for the problem. The case is as follows:
Any way Aapche does not _load_ an image, a _browser_ does.

 > I have a apache2 (2.0.4Cool running on my w2k PC (hey, no laughter) to
 > develop a website. I wrote a php (4.3.4) script to search a certain
 > directory and to create thumbnails of jpg pictures in that directory.
 > I ran the script and I got a php timeout because the images were too
 > large and it took too long to create the thumbs. From this moment on I
 > fail to load certain images which have nothing to do with the images
 > in the directory.
The way you put it, I do fear some corrupted image files ...
Any change a file has been overwritting by a beta of your script??
( Due to Window's need to open-in-binairy-mode explicitely )

[snipped]
 > The only clue I got is the apache access log shows a 206 as HTTP code.
 > But I didn't really found out what it means except that the server
 > only sent a part of the data. (Did I get that right??)
Following <a style='text-decoration: underline;' href="http://ietf.org/rfc/rfc2616.txt?number=2616" target="_blank">http://ietf.org/rfc/rfc2616.txt?number=2616</a> section 10.2.7 the 206
code is known as 'Partial Content'

" If a client has a partial copy of an entity in its cache, and wishes to
have an up-to-date copy of the entire entity in its cache, it could use the
Range request-header with a conditional GET (using either or both of
If-Unmodified-Since and If-Match.) However, if the condition fails because
the entity has been modified, the client would then have to make a second
request to obtain the entire current entity-body. "

 > Does anyone have an idea?? I included the interesting part of the log
 > file. I hope you can help me, cause developing a website is no fun if
 > you cant see it!!
 >
 > "GET / HTTP/1.1" 200 899
 > "GET /Bilder/index_01.gif HTTP/1.1" 200 13185
 > "GET /Bilder/index_03.gif HTTP/1.1" 200 490
 > "GET /Bilder/index_04.gif HTTP/1.1" 200 294
 > "GET /Bilder/index_05.gif HTTP/1.1" 200 729
 > "GET /Bilder/index_02.gif HTTP/1.1" 200 293
 > "GET /Bilder/index_01.gif HTTP/1.1" 200 13185
 > "GET /Bilder/index_01.gif HTTP/1.1" 206 13185
 > "GET / HTTP/1.1" 304 -
 > "GET /Bilder/index_02.gif HTTP/1.1" 304 -
 > "GET /Bilder/index_03.gif HTTP/1.1" 304 -
 > "GET /Bilder/index_04.gif HTTP/1.1" 304 -
 > "GET /Bilder/index_05.gif HTTP/1.1" 304 -
 > "GET /Bilder/index_01.gif HTTP/1.1" 206 4096

At first sight your problem looked as if you have (had) ZoneAlarm 5 on your
system. Failure on the larger file is symptomatic too, however, in that
situation the 206 has not been reported. Than again, a 206 is just as good
as a 200, but for a partial transfer.

Oddly, the second log instance for index_01.gif is showing 200 'OK', where
304 'no changes' is expected -just as shown for any second instance of other
files-
Any change your browser's cache is corrupted ?? Is this index_01.gif ever
displayed correctly ??

Just sharing some thoughts,

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache fails to load images 
Back to top
Login to vote
user2816

External


Since: Jun 09, 2004
Posts: 2



(Msg. 4) Posted: Thu Jun 10, 2004 5:01 am
Post subject: Re: Apache fails to load images [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi everyone, hi Hans,

thank you for sharing your thoughts. In fact, one of them was
perfectly right. The problem was the browser cache. I deleted all the
files in it manually and thats it!

And what do we learn out of this: Never trust you MIE if it tries to
tell you it cleared the cache! (BTW: Laughter allowed) Only odd thing
is that Netscape is also working now, even if it seems it has an own
cache file. But well.

Thank you, once again !!!

Nick
 >> Stay informed about: Apache fails to load images 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache 2 - Connection to localhost fails - I have Mandrake 9.2 with Apache 2 installed as part of the Advanced Extranet Server. Everything worked OK for a few days and suddenly no pages are served by apache despite the fact that httpd is up and running and I can connect to the server with Webmin...

Apache fails to execute Perl after apt update - Hi, i just have updated my server (running with redhat 9.0) with apt update, and it has also updated the apache httpd to version 2.0.40 (built Apr 21 2004 11:49:03). Since the update all my perl scripts fail to work. The only error I get is "Pre...

Apache start with windows boor fails - Hello, When i first start windows and apache starts, i can not reach the apache server. Only when i stop and start the service (Not with a restart!) i can reach the apache server normally. Can someone explain to me what this might be? I am using Windows...

Apache Rewrite fails to find index.* - This is my first time around the block with Apache (1.3.29 Linux) RewriteRule and I'm running into a situation I don't understand. Unfortunately, I'm on a commercial account that has only .htaccess control so am unable to turn on rewrite logging for more...

Apache and mod_rewrite handling non-existing images - Hello, I have run into a strange problem. Here is the situation: On the server which hosts my web is a directory full of images called "/letters" with files like "a-blue.gif", "a-red.gif", "b-blue.gif" etc. Now...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]