nataraj: (Default)
[personal profile] nataraj
$ telnet shaplov.ru 80
Trying 195.54.209.135...
Connected to shaplov.ru.
Escape character is '^]'.
GET /
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/0.5.35</center>
</body>
</html>
Connection closed by foreign host.




$ wget shaplov.ru
--2008-10-26 13:01:14-- http://shaplov.ru/
Распознаётся shaplov.ru... 195.54.209.135
Устанавливается соединение с shaplov.ru|195.54.209.135|:80... соединение установлено.
Запрос HTTP послан, ожидается ответ... 200 OK
Длина: 709 [text/html]
Сохраняется в каталог: `index.html'.

100%[===================================================================================>] 709 --.-K/s в 0s

2008-10-26 13:01:15 (21,8 MB/s) - `index.html' сохранён [709/709]

shaplov@Bliss:~$ cat index.html
<html>
<head>
<link rel="openid.server" href="http://shaplov.ru/cgi-bin/test.pl">
</head>
<body>
<a href="devel-notes/">Заметки разработчика</a><br>
<a href="2005/photos/"> Фотографии 2005г.</a><br>
<a href="2006/Photos/"> Фотографии 2006г.</a><br>
<a href="http://rpg.shaplov.ru"> Старая домашнаяя страница посвященная ролевым играм</a><br>
<a href="/files">Файловая свалка</a><br>
<a href="links.html">Ссылки</a><br>
<a href="http://stat.shaplov.ru">Статистика сервра</a><br>
<a href="http://lib.shaplov.ru">Библиотека ;-)</a><br>
<br>
</body>
</html>



ЧЯДНТ?

Date: 2008-10-26 10:15 am (UTC)
vitus_wagner: My photo 2005 (Default)
From: [personal profile] vitus_wagner
Попробуй так:
telnet shaplov.ru 80
GET / HTTP/1.0
Host: shaplov.ru
<два раза Enter>


По-моему, nginx никому не обещал поддерживать версии HTTP 0.9. Он и CGI-то не поддерживает.

Date: 2008-10-26 10:19 am (UTC)
ext_605364: geg MOPO4 (Default)
From: [identity profile] gegmopo4.livejournal.com
А с CRLF там как?

Date: 2008-10-26 04:31 pm (UTC)
From: [identity profile] firebottle.livejournal.com
УМВР:

% nc shaplov.ru 80
GET / HTTP/1.0
Host: shaplov.ru

HTTP/1.0 200 OK
Date: Sun, 26 Oct 2008 16:29:07 GMT
Content-Type: text/html; charset=utf-8
Last-Modified: Fri, 21 Mar 2008 11:16:14 GMT
ETag: "252c0ab-2c5-47e398fe"
Accept-Ranges: bytes
Content-Length: 709
Connection: close

[тут содержимое - такое же, как в твоем примере с wget]

Date: 2008-10-26 04:46 pm (UTC)
From: [identity profile] aceler.livejournal.com
Ты не отдаёшь домен.

Profile

nataraj: (Default)
Swami Dhyan Nataraj

July 2024

S M T W T F S
 123456
789 10111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 21st, 2026 05:55 am
Powered by Dreamwidth Studios