Re: Проблема в NGINX

Vladimir Rusinov vladimir at greenmice.info
Fri Oct 31 18:16:08 MSK 2008


2008/10/31 Андрей Погорельцев <rentgenx at gmail.com>

> 1. В HTTP/1.0 можно использовать заголовок Host: Нету его в HTTP/0.9
>
> Да ну? Учим матчасть:
> http://www.w3.org/Protocols/
> http://www.w3.org/Talks/9608HTTP/
> http://www.w3.org/Talks/9608HTTP/sld012.htm
> http://www.faqs.org/rfcs/rfc1945.html
> Не видел, чтобы RFC обновили!


Учим английский :).

В rfc ничего не сказано про Host:

Wikipedia:

http://en.wikipedia.org/wiki/Shared_web_hosting_service

Disadvantages:
* They will not work with browsers that do not send the hostname as part of
requests. This is true for older HTTP/1.0 browsers that have not
retrofitted<http://en.wikipedia.org/wiki/Retrofit>the host field
feature from the HTTP/1.1 protocol. (The "Host" header that
distinguishes between various
DNS<http://en.wikipedia.org/wiki/Domain_Name_System>names sharing a
single IP
address <http://en.wikipedia.org/wiki/IP_address> *was optional in HTTP/1.0*;
it is mandatory in HTTP/1.1, issued in 1999 as RFC
2616<http://tools.ietf.org/html/rfc2616>.)
Since nearly every webbrowser that is currently used supports the HTTP/1.1
protocol and thus also virtual hosting, this is not a real issue.


-- 
Vladimir Rusinov
http://greenmice.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20081031/7e933798/attachment.html>


More information about the nginx-ru mailing list