[LUGOS] IMP in Horde tezava

Metod Kozelj metod.kozelj at lugos.si
Mon Aug 26 13:42:08 CEST 2002


Howdy!

>>root at Svarun:/home/httpd/horde/imp# telnet localhost 80
>>Trying 127.0.0.1...
>>Connected to localhost.
>>Escape character is '^]'.
>>get /horde/menu.php?Horde=f00908ba5207286c3b9ce9f1c5ca9117&Horde=f00908ba5207286c3b9ce9f1c5ca9117
>><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
>><!-- Horde: Copyright 2000, The Horde Project. Horde is under the LGPL. -->
>><!--                  Horde Project: http://horde.org/                  -->
>><!-- GNU Library Public License: http://www.fsf.org/copyleft/lgpl.html  -->
>><html lang="en-US"><head>
>><title>Horde</title>
>><link href="/horde/css.php" rel="stylesheet" type="text/css" />
>></head>
>>  
>>
>  
>

[ snip ]

Tole zgoraj izgleda precej cudno, ker manjka kar nekaj HTTP headerjev. 
Ti naj bi izgledali nekako takole:

$ telnet www.rzs-hm.si 80
Trying 193.2.208.15...
Connected to www.rzs-hm.si.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 200 OK
Date: Mon, 26 Aug 2002 11:34:31 GMT
Server: Apache/1.3.4 (Unix)
Cache-Control: max-age=3600
Expires: Mon, 26 Aug 2002 12:34:31 GMT
Last-Modified: Wed, 09 May 2001 14:30:30 GMT
Connection: close
Content-Type: text/html; charset=ISO-8859-2

<html>
<head>

[ itd ]
Aja, ze vidim, ti si pri 'rocnem' testiranju pozabil napisati na koncu 
se ' HTTP/1.1', zato ti ne vrne headerjev. Tisti URL za redirectanje pa 
vrne samo v headerjih.


-- 
Peace!
  Mkx

---- perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'





More information about the lugos-list mailing list