Forum Moderators: phranque
I'm hoping somebody can answer my question, I have 2 websites both similar in terms of hosting platforms.
One returns very few responses from a http header test:
HTTP/1.1 200 OK =>
Content-Type => text/html
Server => Microsoft-IIS/6.0
X-Powered-By => ASP.NET
Date => Fri, 31 Aug 2007 09:15:43 GMT
Connection => close
The other is much more "talkative":
HTTP/1.1 200 OK =>
Content-Length => 57776
Content-Type => text/html
Content-Location => http://www.example.com/index.html
Last-Modified => Fri, 31 Aug 2007 07:41:20 GMT
Accept-Ranges => bytes
ETag => "76e4a052a2ebc71:647"
Server => Microsoft-IIS/6.0
X-Powered-By => ASP.NET
PICS-Label => (PICS-1.0 "http://www.rsac.org/ratingsv01.html" l by "howard@*******" on "2006.10.13T18:32+0100" exp "2007.10.13T12:00+0100" r (v 0 s 0 n 0 l 0))
Date => Fri, 31 Aug 2007 10:15:37 GMT
Connection => close
Both these tests were done on the root of the domain, without the index.htm(l) added, however the results were the same if the full url was given.
The difference in responses concerns me, is it important to return content-length, content-location, ETag(?) and PICS-Label? I'd really appreciate some advice.
Thanks!
<?php header('Expires: Thu, 31 Dec 1999 23:59:59 GMT');?>
it's different for different headers though. have a read through the php manual at php.net
I know a bit about PHP so that's cool I would have no problem doing that.
However, what I am really interested to know is why? What configuration options in IIS would make the difference?
I want the servers to be configured almost identically and, as far as I can see they are, so i am confused as to why the http headers differ.
Thanks again!
You also might want to ask "howard" about the PICS labeling, which is related to the "parental controls" in IE.
Jim