Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP/1.1 200 OK

Tags:

apache2

What does this mean, and why does it appear on bottom of ALL html, php, css, js files?

HTTP/1.1 200 OK
Date: Fri, 06 Nov 2009 00:35:42 GMT
Server: Apache
Content-Length: 0
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/plain 

I am running a nph-proxy.cgi script.

I already turned off ServerSignatures, and set it to Production in apache2.conf.

UPDATE:

I am rewriting

myproxysite.com/http/someothersite.com

to

 myproxysite.com/cgi-bin/nph-proxy.cgi/http/someothersite.com

and this HTTP header is shown at bottom of each page.

However, when i remove the Rewrite Rules, this problem is gone !! Meaning when i access the proxy via myproxiste.com/cgi-bin/nph-proxy.cgi/http/someothersite.com, the HTTP header is NOT found at the bottom.

like image 898
zxb Avatar asked Sep 18 '25 23:09

zxb


2 Answers

Those look like the server headers and should not be presented by the browser.

HTTP/1.1 200 ok

Means that the server is responding using the HTTP protocol version 1.1. 200 is the code used when everything is ok.

Date: Fri, 06 Nov 2009 00:35:42 

The date of the server...

GMTServer: Apache

The name of the server

Content-Length: 0

The size of the content ( in this case 0 bytes )

Keep-Alive: timeout=15, max=100

How long the connection will remain open.

Connection: Keep-Alive

Is the connection to be closed or no

Content-Type: text/plain

What is the mime type of the contet ( HTML would be text/html )

You can see here a list of HTTP Headers

After the headers are displayed, you'll have the html content ( the web page )

As for your last question, I have no idea.

like image 167
OscarRyz Avatar answered Sep 23 '25 11:09

OscarRyz


That is a typical set of HTTP Response headers. It is information sent by the server to describe the content which is being sent, as well as the status (meta-information) of the request for a particular resource. Check out the following:

http://en.wikipedia.org/wiki/List_of_HTTP_headers
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

like image 40
Dereleased Avatar answered Sep 23 '25 12:09

Dereleased