>> Delete Reply from No. 8948 article
No. RE: [질문] cgi를 실행시키기 위한 httpd.conf 화일 수정

등록 2000-10-20 18:06:00 By localhost     조회 2
이름 허공    

		안녕하세요
일단
/cgi-bin/에다 test.cgi로 아래의 내용을 입력해보세요
test.cgi-----
#!/usr/bin/perl;
print "Content-type: text/html ";
print "Perl OK!";
end;
-------------
이렇게 입력하신후에 chmod 755 test.cgi로 바꾸신후
웹브라우저에서 이파일을 함 불러오세요.
perl OK!란 메시지가 보이면 perl은 다시 깔지 않으셔도 됩니다.
 일단은 http.conf의 설정에 문제가 있는것 같습니다.
다시함 잘 살펴보시구엽.
그래도 안돼면 함 퍼미션을 변경해 보세요..
ps error_log파일을 확인하는것은 필수 입니다.
   그럼
   : 웅~~ APM을 다깔구 나서 c로 짠 cgi를 실행시키려구 httpd.conf화일을
: 고쳤는데요...
:
: 질답게시판에서 보구
: AddType application/x-httpd-cgi .cgi
: AddHandler cgi-script .cgi
: 의 주석을 풀구요...
:
: Option 부분에 ExecCGI을 추가했습니당...
:
: 그런데 다음과 같은 메시지가 브라우저에 뜨더군여...-.-;;
:
: ~~~~~~~~~~~~~~~~~~~~~~~~
: Internal Server Error
: The server encountered an internal error or
:     misconfiguration and was unable to complete your request.
: Please contact the server administrator, webmaster at xxxyyy.co.kr :     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.
: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:
: 이유를 알고 싶습니다...
:
: 그리구 나중엔 php를 쓸 꺼지만 일단 CrazyWWWBoard를 쓰려구 하는데...
: 무엇을 조정해야할지 모르겠네요...
: 혹시 perl을 다시 깔아야 되나요? apm깔때 mod_perl의 rpm을 지웠는데...
:
: 답변 부탁드리겠습니다... ^^--즐거운 리눅싱 하세요..^^
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved