Page 1 of 1

Error Logfiles - 401 ErrorDocument

Posted: Fri Oct 26, 2012 4:29 pm
by milos27
Folgende Meldung erscheint sehr oft in den Error Logfiles:

[Fri Oct 26 17:07:16 2012] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Fri Oct 26 17:07:16 2012] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Fri Oct 26 17:07:16 2012] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Fri Oct 26 17:07:35 2012] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Fri Oct 26 17:08:30 2012] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!

Was verursacht diese Meldung? Hat das was mit der .htaccess im Blog zu tun:

Options -MultiViews
ErrorDocument 404 /index.php
DirectoryIndex /index.php
php_value session.use_trans_sid 0
php_value register_globals off

Ist das ein problem oder kann ich das ignorieren?

Gruß
Milos

Re: Error Logfiles - 401 ErrorDocument

Posted: Fri Oct 26, 2012 4:41 pm
by Timbalu
http://tosbourn.com/2011/08/web-stuff/n ... -ignoring/
es meint eine ErrorDocument 401 http://example.com/errorpage.html Direktive, keine 404. Wo die steckt, musst du suchen...!

Re: Error Logfiles - 401 ErrorDocument

Posted: Fri Oct 26, 2012 6:22 pm
by milos27
Was heißt suchen und vor allem wo und wie?

Re: Error Logfiles - 401 ErrorDocument

Posted: Fri Oct 26, 2012 6:30 pm
by Timbalu
In allen .htaccess files bzw in der server *.conf würde ich sagen.

Re: Error Logfiles - 401 ErrorDocument

Posted: Fri Oct 26, 2012 7:22 pm
by milos27
Und was genau muss ich dann dort finden?

Re: Error Logfiles - 401 ErrorDocument

Posted: Sat Oct 27, 2012 9:05 am
by Timbalu
Das sieht alles nicht nach einer Serendipity Frage aus. Es gibt auch den Google-Translator....

So eine Direktive musst du suchen:

Code: Select all

ErrorDocument 401 http://www.deineDomain.de/error.php
Domain-, weitere Pfad- und Dateiname können natürlich abweichen, bzw gerade in der Server-Domain.conf sogar auch mit Platzhaltern beschrieben sein.

Das wäre dann relativ umzuschreiben als

Code: Select all

ErrorDocument 401 /error.php