Herzlich willkommen im Archiv vom ABAKUS Online Marketing Forum
Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.
Code: Alles auswählen
print "Status: 301 Moved Permanently\n";
print "Location: http://exapmle.de\n\n";
Code: Alles auswählen
use CGI;
my $q = CGI->new();
print $q->redirect(
-location => 'http://exapmle.de',
-status => 301,
);
Code: Alles auswählen
HTTP Request Header
Connect to 213.239.205.208 on port 80 ... ok
GET / HTTP/1.1[CRLF]
Host: iphpbb.com[CRLF]
Connection: close[CRLF]
Accept-Encoding: gzip[CRLF]
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-icq, */*[CRLF]
Accept-Language: de[CRLF]
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) Web-Sniffer/1.0.20[CRLF]
Referer: http://web-sniffer.net/[CRLF]
[CRLF]
Code: Alles auswählen
HTTP Response Header
Name Value Delim
HTTP Status Code: HTTP/1.1 301 Moved permanently
Date: Fri, 25 Feb 2005 14:10:21 GMT CRLF
Server: Apache/1.3.31 (Debian GNU/Linux) CRLF
Location: http://www.iphpbb.com/index.php CRLF
Connection: close CRLF
Transfer-Encoding: chunked CRLF
Content-Type: text/plain; charset=iso-8859-1 CRLF
Caterham hat geschrieben:ohne den Host-Header kann goolge deine Seite (und alle anderen name based virtual hosting-Seiten) gar nicht indizieren
Kurz: ja, Google sieht einen 301erCaterham hat geschrieben:Du bekommst einen 200, wenn das Protokoll HTTP/1.0 ohne Host-Header genutzt wird