Apache na Win95 a Http autentifikace

charlie76 charlie76 na atlas.cz
Pátek Září 22 06:56:05 CEST 2000


>>  Dobry den,
>>
>> na win95 mam nainstalovane
>>  apache_1_3_12_win32.exe
>>  php-3.0.16-win32.zip
>>  a
>>  mysql-3.23.24-beta-win.zip
>>
>> Pokud v php3 scriptu poslu tuto hlavicku:
>>
>> ************************************************************
>>  Header("HTTP/1.0 401 Unauthorized");
>>  Header("WWW-Authenticate: Basic realm=\"Jmeno\"");
>> ************************************************************
>>
>>  Odpovi mi Apache toto:
>>
>> ************************************************************
>> Internal Server Error
>> The server encountered an internal error or misconfiguration and was unable to complete your request.
>> Please contact the server administrator, you na your.address 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.12 Server at bla.bla.cz Port 80
>> ************************************************************
>>
>> Pokusil by se mi prosim nekdo poradit?
>>

RV> Kuk do error.log....

V eroro logu je akorát toto.

[Thu Sep 21 20:01:41 2000] [error] [client 193.179.195.11] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: c:/php3/php.exe

Mira:)




Další informace o konferenci Linux