You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@organic.com> on 1998/02/10 06:49:59 UTC
Re: current CVS tree: empty Content-Encoding header on
negotiated docs
Uh-huh-uh! :)
taz [66] HEAD http://www.arctic.org/index
200 OK
Cache-Control: max-age=3600
Connection: close
Date: Tue, 10 Feb 1998 05:48:41 GMT
Server: Apache/1.3b5-dev
Content-Encoding:
Content-Length: 5494
Content-Type: text/html
ETag: "1ee13-1576-34b4f36e"
Expires: Tue, 10 Feb 1998 06:48:41 GMT
Last-Modified: Thu, 08 Jan 1998 15:40:30 GMT
Accept-Ranges: bytes
Brian
At 09:33 PM 2/9/98 -0800, Dean Gaudet wrote:
>This doesn't happen on www.arctic.org which is running the current cvs
>head. I suspect something with your config. ... still looking...
>
>Dean
>
>On Mon, 9 Feb 1998, Brian Behlendorf wrote:
>
>>
>> I think Deans' most recent mod_negotiation.c patch caused
>> multiviews-negotiated docs to start outputting empty Content-Encoding
>> headers, a la
>>
>> eat [102] HEAD http://www.apache.org
>> 200 OK
>> Cache-Control: max-age=86400
>> Connection: close
>> Date: Tue, 10 Feb 1998 00:22:04 GMT
>> Server: Apache/1.3b4-dev
>> Content-Encoding:
>> Content-Type: text/html
>> Expires: Wed, 11 Feb 1998 00:22:04 GMT
>>
>> when I backrevved to mod_negotiation.c rev 1.66, the problem went away.
>>
>> Brian
>>
>> >Delivered-To: brian@hyperreal.org
>> >Delivered-To: webmaster@apache.org
>> >X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.1)
>> >From: Gerd Knops <ge...@bitart.com>
>> >Date: Mon, 9 Feb 98 16:18:00 -0600
>> >To: webmaster@apache.org
>> >Subject: Weired header on Apache site
>> >Reply-To: gerti@BITart.com
>> >
>> >Hi,
>> >
>> >Since a few days the Apache site (www.apache.org, perl.apache.org) throws
>> an
>> >empty 'Content-encoding:' header, which my WebBrowser (OmniWeb) really
>> >doesn't like. Could that be fixed?
>> >
>> >Thanks
>> >
>> >Gerd
>> >
>> >
>> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
>> "Optimism is a strategy for making brian@apache.org
>> a better future." - Noam Chomsky brian@hyperreal.org
>>
>
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
specialization is for insects brian@organic.com
Re: current CVS tree: empty Content-Encoding header on
negotiated docs
Posted by Brian Behlendorf <br...@organic.com>.
QA freaks do. :)
At 09:55 PM 2/9/98 -0800, Dean Gaudet wrote:
>Yeah well performance freaks don't use "DirectoryIndex index"... have you
>ever looked at a trace of that? ;)
>
>Dean
>
>On Mon, 9 Feb 1998, Brian Behlendorf wrote:
>
>>
>> Uh-huh-uh! :)
>>
>> taz [66] HEAD http://www.arctic.org/index
>> 200 OK
>> Cache-Control: max-age=3600
>> Connection: close
>> Date: Tue, 10 Feb 1998 05:48:41 GMT
>> Server: Apache/1.3b5-dev
>> Content-Encoding:
>> Content-Length: 5494
>> Content-Type: text/html
>> ETag: "1ee13-1576-34b4f36e"
>> Expires: Tue, 10 Feb 1998 06:48:41 GMT
>> Last-Modified: Thu, 08 Jan 1998 15:40:30 GMT
>> Accept-Ranges: bytes
>
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
specialization is for insects brian@organic.com
Re: current CVS tree: empty Content-Encoding header on negotiated docs
Posted by Dean Gaudet <dg...@arctic.org>.
On Mon, 9 Feb 1998, Dean Gaudet wrote:
> Yeah well performance freaks don't use "DirectoryIndex index"... have you
> ever looked at a trace of that? ;)
Here's what I mean, this is slightly editted:
stat("/home/dgaudet/ap/apachen/htdocs", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index", 0x80b1db4) = -1 ENOENT (No such file or directory)
stat("/home/dgaudet/ap/apachen/htdocs", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
open("/home/dgaudet/ap/apachen/htdocs/", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
getdents(4, /* 24 entries */, 4096) = 496
stat("/home/dgaudet/ap/apachen/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=1316, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html.gz", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
getdents(4, /* 0 entries */, 4096) = 0
close(4) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=1316, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html.gz", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index", 0x80b0824) = -1 ENOENT (No such file or directory)
stat("/home/dgaudet/ap/apachen/htdocs", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
open("/home/dgaudet/ap/apachen/htdocs/", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
getdents(4, /* 24 entries */, 4096) = 496
stat("/home/dgaudet/ap/apachen/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=1316, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html.gz", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
getdents(4, /* 0 entries */, 4096) = 0
close(4) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html", {st_mode=S_IFREG|0664, st_size=1316, ...}) = 0
stat("/home/dgaudet/ap/apachen/htdocs/index.html.gz", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
open("/home/dgaudet/ap/apachen/htdocs/index.html", O_RDONLY) = 4
Isn't that neat?
That's *one* request: HEAD / HTTP/1.0
We stat the directory 4 times, we opendir it twice, we
stat the multiviewed files 8 times...
MultiViews alone isn't as bad... it only does half the work.
Dean
Re: current CVS tree: empty Content-Encoding header on negotiated docs
Posted by Dean Gaudet <dg...@arctic.org>.
Yeah well performance freaks don't use "DirectoryIndex index"... have you
ever looked at a trace of that? ;)
Dean
On Mon, 9 Feb 1998, Brian Behlendorf wrote:
>
> Uh-huh-uh! :)
>
> taz [66] HEAD http://www.arctic.org/index
> 200 OK
> Cache-Control: max-age=3600
> Connection: close
> Date: Tue, 10 Feb 1998 05:48:41 GMT
> Server: Apache/1.3b5-dev
> Content-Encoding:
> Content-Length: 5494
> Content-Type: text/html
> ETag: "1ee13-1576-34b4f36e"
> Expires: Tue, 10 Feb 1998 06:48:41 GMT
> Last-Modified: Thu, 08 Jan 1998 15:40:30 GMT
> Accept-Ranges: bytes