: test.cgi 내용 입니다.
: #!/usr/bin/perl
cgi가 달랑 요건가요?
그렇다면 아마 헤더가 없어서 그럴껍니다.
print "Content-type: text/html";
print "<html><body><p>hello!</body></html>";
를 추가해서 해 보세요.
: 도무지 모르겠습니다.
:
: 우선 http.conf입니다
:
: <Directory />
: Options FollowSymLinks ExecCGI Includes
: AllowOverride None
: Order allow,deny
: Allow from all
: </Directory>
:
: <Directory "/home/httpd/html">
: Options Indexes Includes FollowSymLinks MultiViews ExecCGI
: AllowOverride None
: Order allow,deny
: Allow from all
: </Directory>
:
:
: AddHandler cgi-script .cgi
:
: 내용은 이것만 바꾸었습니다.
:
: 퍼미션은 755
:
: test.cgi 내용 입니다.
: #!/usr/bin/perl
:
: 그런데 500 에러가 나는 군요 물론 /cgi-bin/ 에서도
:
: error_log 내용 입니다.
:
: Premature end of script headers:
: /home/httpd/cgi-bin/test.cgi
:
: 제발 알려 주세요 .. ㅡ.ㅡ--cgi-scripter.