Skeeve: URL-Prüfung - Problem mit LWP::UserAgent / Simple

Beitrag lesen

Moin!

Vielleicht hift Dir das hier weiter?

$ telnet www.motorradonline.de 80
Trying 217.110.64.219...
Connected to www.motorradonline.de.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 302 Found
Date: Sat, 23 Sep 2006 15:51:18 GMT
Server: Apache/1.3.34 (Unix) PHP/4.4.4
X-Powered-By: PHP/4.4.4
Location: http://www.motorradonline.de/home
Content-Type: text/html; charset=iso-8859-1
X-Cache: MISS from www.motorradonline.de
Connection: close

Connection closed by foreign host.

D.h. hier ist noch eine normale WEiterleitung

Wenn ich das dann abfrage:

$ telnet www.motorradonline.de 80
Trying 217.110.64.219...
Connected to www.motorradonline.de.
Escape character is '^]'.
GET /home HTTP/1.0

HTTP/1.1 404 Not Found
Date: Sat, 23 Sep 2006 15:54:06 GMT
Server: Apache/1.3.34 (Unix) PHP/4.4.4
Last-Modified: Wed, 28 Dec 2005 17:01:13 GMT
ETag: "a9ca2-a5c-43b2c4d9"
Accept-Ranges: bytes
Content-Length: 2652
Content-Type: text/html
X-Cache: MISS from www.motorradonline.de
Connection: close

<html>
   <head>
     <title>MOTORRAD online</title>
     <link rel="shortcut icon" href="http://www.motorradonline.de/favicon.ico">
   </head>

... usw ...

D.h. die leferen im Status Feld einen Fehler, danach folgt aber die Seite.

-- Skeeve