Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> header http
karbon
post 3.02.2003, 20:54:47
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 1.02.2003

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


dlaczego po odpaleniu skryptu:
<?php
header("HTTP/1.0 401 Unauthorized");
?>
pojawia mi się błąd:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request(...)?
mam apache 1.3.9 i php 4.1.1
Go to the top of the page
+Quote Post
Seth
post 3.02.2003, 21:00:26
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 335
Pomógł: 6
Dołączył: 7.03.2002

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


A co niby chcial bys dostac po takim headerze ? Przeciez wygenerowales blad 401, z tym, ze server nie zrozumial twojego headera.

P.S. Polecam to ---> http://www.rfc-editor.org/rfc/rfc2068.txt
Go to the top of the page
+Quote Post
karbon
post 3.02.2003, 21:06:10
Post #3





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 1.02.2003

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


to jak zrobić żeby zrozumiał?
Go to the top of the page
+Quote Post
scanner
post 3.02.2003, 21:37:59
Post #4





Grupa: Zarząd
Postów: 3 503
Pomógł: 28
Dołączył: 17.10.2002
Skąd: Wrocław




1. Przeczytać materiał w podanym przez Setha linku
2. Isc z Apachem na piwo i mu wyjaśnić, co od niego chcesz.


--------------------
scanner.info
Warto pamiętać: KISS, DRY
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 15.08.2025 - 10:38