httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yulya Blyakh" <bly...@sputnikmedia.net>
Subject RFC2616
Date Fri, 10 Aug 2001 09:45:50 GMT
hi!

When trying to access my resource from search engines, some servers get 400
or 406 response.
400 - my host name is not specified by these search engines - RFC2616.
406 - my resource is not accessible.

This is what I do to test my resource:

telnet www.ukrbiz.net 80
......
GET / HTTP/1.0

HTTP/1.1 400 Bad Request
Date: Fri, 10 Aug 2001 09:42:06 GMT
Server: Apache/1.3.20 (Unix) PHP/4.0.6
Connection: close
Content-Type: text/html; charset=iso-8859-1
............

In response, I get 400 error, and it seems that APACHE doesn't know how to
process my inquiry. Of course, if I specify the host name like this:

GET / HTTP/1.0
Host: www.ukrbiz.net
HTTP/1.1 200 OK
Date: Fri, 10 Aug 2001 09:42:48 GMT
Server: Apache/1.3.20 (Unix) PHP/4.0.6
X-Powered-By: PHP/4.0.6
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 10 Aug 2001 09:42:59 GMT
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: kbds=9ec377dc65f9a04ccd75e64437b04500; expires=Thu, 11-Oct-01
21:42:59 GMT; path=/; domain=.ukrbiz.net
Connection: close
Content-Type: text/html
..........

the server gives out the right header and page.
I don't know what I could do to make my APACHE access my resource?

Best regards,
Yulya Blyakh


Mime
View raw message