![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 47 Pomógł: 0 Dołączył: 8.12.2005 Skąd: Gliwice Ostrzeżenie: (0%) ![]() ![]() |
Witajcie,
mam serwer w AZ.PL Chcę uruchomić jakikolwiek własny skrypt CGI. Gdy próbuję wejść na http://___/cgi-bin/test, to dostaje coś takiego: Cytat Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@lucynkowe.pl 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. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. W pliku test były różne wersje 'hello world' z rożnych stron, nazwa pliku była z różnymi rozszerzeniami (bez rozszerzenia, cgi, pl) i za każdym razem pojawia się ten sam błąd.. Jak odpalić własny skrypt? Pierwsza z brzegu zawartość pliku testowego:
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 255 Pomógł: 23 Dołączył: 1.12.2003 Ostrzeżenie: (10%) ![]() ![]() |
Zapomniałeś dodać przed pierwszym printem:
Kod print "Content-type: text/html\n\n";
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 20:00 |