Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Jaki "header"
Mayewsky
post
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 22.02.2004

Ostrzeżenie: (0%)
-----


Hej, dla was to pewnie śmieszne pytanie, ale jaki "header" powinienem mieć skoro ten jest zły ?

oto logi :

*****
[Tue Feb 24 18:53:12 2004] [error] [client 127.0.0.1] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: c:/apache/php/php.exe
*****
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Mayewsky
post
Post #2





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 22.02.2004

Ostrzeżenie: (0%)
-----


No mam coś takiego. Nie moge oczywiście sie zalogować, bo nie widze nawet okienka logowania, od razu wywala mi błąd na stronie o treści :

**********
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

--------------------------------------------------------------------------------
Apache/1.3.23 Server at localhost Port 80
**********

Zmiana Globals ON tez nic nie daje.

A poniżej ten kod nagłówka.

*********
if ((($PHP_AUTH_PW!=$haslo_log) || ($PHP_AUTH_PW==""))
{
Header("WWW-authenticate: basic realm="logowanie"");
Header("HTTP/1.0 401 Unauthorized"); ?>
**********
Go to the top of the page
+Quote Post

Posty w temacie
- Mayewsky   Jaki "header"   25.02.2004, 18:55:13
- - kszychu   A TEN tzn. jaki? P.S. Wiem, że niektórzy (np ja ...   26.02.2004, 12:56:10
- - spenalzo   A nie HTTP/1.1 ?   26.02.2004, 13:03:43
- - Mayewsky   No taki Krzychu   26.02.2004, 13:05:29


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 8.10.2025 - 03:44