sun's longitude:300 50 13.51 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  

질문과 답변 게시판입니다.

현재 실시간으로 이곳 서버의 설정파일(몇개)를 보여주고 있습니다.
서버의 설정내용에 관한 질문은 먼저 이곳 서버의 설정내용을 참고하시길 바랍니다.

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
84 번 글: [질문]리눅스에서 아파치 CGI에러...
글쓴이: 김태년 글쓴날: 2000년 04월 11일 01:55:13 화(새벽) 조회: 2393
안녕하세요.
리눅스에서 아파치로 웹서버를 구축하고자하는
 초보입니다.

브라우저로 볼때 html문서는 잘 되는데..
CGI를 실행 할 때 오류가 납니다.
브라우저에 출력되는 오류의 내용은 아래와 같습니다.
______________________________________________________________
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator, root@localhost 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.
______________________________________________________________

그리고 아파치의 오류로그를 살펴보면 다음과 같습니다.
/var/log/httpd/error_log
______________________________________________________________
[Mon Apr 10 14:50:08 2000] [error] (2)그런 파일이나 디렉토리가 없음:
exec of /home/httpd/html/search.cgi failed
[Mon Apr 10 14:50:08 2000] [error] [client 210.115.170.97] Premature end of script
headers: /home/httpd/html/search.cgi               
______________________________________________________________


httpd.conf 파일의 설정의 관련 내용이라 생각되는 부분도 아래와
같습니다.

AddHandler cgi-script .cgi 
AddType application/x-httpd-cgi .cgi
<Directory /home/*>
    Options ExecCGI FollowSymLinks Indexes
    AllowOverride Options FileInfo AuthConfig Limit
    Order allow,deny
    Allow from all
</Directory>

아래와 같은 간단한 perl 스크립트 조차 실행이 안되는 군요.

#!/usr/bin/perl

print "Content-type: text/html\n\n" ;
print "Hello, World...\n"

#___end______


원인을 알고 계시는 분은 답변을 해주시면 고맙겠습니다.

그럼이만

 
이전글 : Re: Re: (질문)고맙읍니다 (내용없음)
다음글 : Re: [질문]리눅스에서 아파치 CGI에러...  
 from 210.221.61.166
JS(Redhands)Board 0.4 +@

Re: Re: (질문)고맙읍니다 (내용없음) Re: [질문]리눅스에서 아파치 CGI에러...
인쇄용 


apache lighttpd linuxchannel.net 
Copyright 1997-2026. linuxchannel.net. All rights reserved.

Page loading: 0.33(server) + (network) + (browser) seconds