Permanentes Redirect

Apache, Lighttpd, nginx, Cherokee
Post Reply
jluerken
Posts: 58
Joined: 2003-03-10 10:53
 

Permanentes Redirect

Post by jluerken »

Hi,

habe soeben in meiner
confixx_vhost.conf

bei einem virtual Host ein permanentes Redirecting eingetragen
RedirectPermanent http://www.meinServer.de http://www.externerServer.de

Nun bekomme ich im Browser folgende Fehlermeldung:
KEIN VIRTUELLES HOSTING

F E H L E R 0 0 0
Der von Ihnen eingesetzte Browser unterstützt leider kein virtuelles Hosting. Bitte installieren Sie auf
Ihrem Computer einen neueren, gängigen Browser, wie z.B. Internet-Explorer (ab Version 3.0) oder Netscape (ab Version 2.0).

per Meta Refresh sowie .htaccess kommt der gleiche Fehler.

Confixx2 - Apache 1.3.26

Was hab ich uebersehen?
mc5000
Posts: 308
Joined: 2004-06-17 11:56
Location: Köln
 

Re: Permanentes Redirect

Post by mc5000 »

Sieht eigentlich gut aus, aber:
RedirectPermanent directive
Syntax: RedirectPermanent URL-path URL
Context: server config, virtual host, directory, .htaccess
Override: FileInfo
Status: Base
Module: mod_alias
Compatibility: This directive is only available in Apache 1.2 and later
This directive makes the client know that the Redirect is permanent (status 301). Exactly equivalent to Redirect permanent.
URL
A complete Uniform Resource Locator including a scheme, hostname, and optional pathname as in http://www.example.com/path/to/file.html
URL-path
The part of a url which follows the scheme and hostname as in /path/to/file.html. The url-path represents a web-view of a resource, as opposed to a file-system view.
Sollte es dann nicht heissen:

RedirectPermanent / http://www.extern.de/index.html

oder so ????

Bsp von Apache:
Example:
Redirect permanent /one http://example.com/two
Redirect 303 /two http://example.com/other
jluerken
Posts: 58
Joined: 2003-03-10 10:53
 

Re: Permanentes Redirect

Post by jluerken »

Laut Beispiel in der httpd.conf ist das nicht noetig.

Ich denke das Problem liegt woanders da ja auch meta refresh und die .htaccess Methode nicht gehen :-(
sascha
Posts: 1325
Joined: 2002-04-22 23:08
 

Re: Permanentes Redirect

Post by sascha »

Ich denke das Problem liegt entweder an deinem Browser oder am anderen Server (Dort kommt sehr wahrscheinlich auch die Fehlermeldung her).
jluerken
Posts: 58
Joined: 2003-03-10 10:53
 

Re: Permanentes Redirect

Post by jluerken »

Also am Browser liegt nicht, dafuer hab ich zu viele unterschiedliche Maschinen und Browser ausprobiert.

Auf den anderen Webserver hab ich keinen Zugriff und ich denke auch nicht das es daran liegt denn frueher war meine Domain noch bei einem Webhoster und da ging die Umleitung ja auch.

Irgendwo anders liegt der Hund begraben :D
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Permanentes Redirect

Post by Joe User »

1.) Die Fehlermeldung stammt vom Zielsystem
2.) Korrekte Syntax (whitespace) beachten:

Code: Select all

Redirect permanent /foo http://www.example.com/bar
Redirect 301 /bar http://www.example.com/foo
3.) Logs auswerten
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply