You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rene Er <re...@teamgroove.de> on 2003/10/01 16:59:51 UTC

[users@httpd] clients don't receive any content other than html or txt from server

Hello,

my newly compiled apache2 doesn't deliver images or other media to the
client. But it doesn't abort or deny the download of these types, it
does send the files as 0Byte length. Files are saved by the clients
browser as if it had received it when 'saving location to ...'. Mozilla
says: The file is damaged then, when trying to view an image or so.
And: no, there haven't been errors while compiling apache. There are no
error-log entries. The access-log is fine.


i already tried the following to debug:

>request an image from another source-ip
>request the image from local ssh session via wget from the 'localhost'


---
Response from Wget in console:
--16:39:03--  http://localhost/site4.png
  (try: 2) => `site4.png.1'
Connecting to localhost[127.0.0.1]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12,985 [image/png]

 0% [                                     ] 0             --.--K/s   
ETA --:--

16:39:03 (0.00 B/s) - Connection closed at byte 0. Retrying.
---


All the same results. It is pretty equal which client it is, and where
its from.

mime-types and mime-magic are standard-ones. And types are recognized,
as we see in the wget response.

???
Does anybody have an idea how to get closer to the problem to solve it?
Or maybe someone knows the golden key to have files sent to the client
instead of sending 0byte files.
???

regards,

rene



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Referrals and Redirects

Posted by Leif W <wa...@usa.net>.
----- Original Message ----- 
From: "Errol U. Neal Jr." <er...@enhtech.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, October 01, 2003 11:22 AM
Subject: [users@httpd] Referrals and Redirects


> Hi All,
>
> Just a quick question.
> I am doing redirects from a unsecured url http://www.foo.com to a secure
one,
> https://www.foo.com. I am just curious, are those redirects going to be
> counted as a referral?

>
> Errol Neal

My guess would be no, but I'm not really sure.  Define what you mean by
referral?  Something that shows up in HTTP_REFERRER?  How are you doing the
redirects?  A META-Refresh in HTML, or using a separate VirtualHost block to
capture all traffic to www.foo.com and do a permanent redirect to the https?
Have you tried it and checked your scripts or logs to see what happens, if
there's any referrer?

Leif



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Referrals and Redirects

Posted by "Errol U. Neal Jr." <er...@enhtech.com>.
Hi All,

Just a quick question.
I am doing redirects from a unsecured url http://www.foo.com to a secure one,
https://www.foo.com. I am just curious, are those redirects going to be 
counted as a referral?


Errol Neal


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org