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

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

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

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
349 번 글의 답장글: Re: [급구!!!! CGI Shell지원]
글쓴이: 산이 [홈페이지] 글쓴날: 2000년 11월 25일 21:12:20 토(저녁) 조회: 1557
[dalgalim]님이 남기신 글:

>Shell Script로 짜여진 CGI를 웹브라우져에서
 읽지를 못하는군요..
>..
>아래와같이 Interval Server Errror 뜹니다.
>Apache서버 Setting문젠거 같은데..
>Handler부분에도
 .sh 을 추가시켜줬거든요..

>물론 User홈 Dir어는곳에서든
 ExecCGI 처리 해주었구요..
>Permition도 755로 줬습니다.
>어디가 잘못된거죠...??

>아래.. 실행코자하는 test.sh과 Error Message 첨부합니다.
>
>고수님들의 빠른 답변기다립니다.

>
>=========== test.sh =============
>#!/bin/bash
>echo "<Content-Type:text/html>"
>echo "<html>"
>echo "<body>"
>echo "<center>"
>echo "TEST"
>echo "</center>"
>echo "</body>"
>echo "</html>"
>=================================
>
>======= Error Message.... ======
>Internal Server Error
>The server encountered an internal error or misconfiguration and was unable to
complete your request.
>Please contact the server administrator, dalgalim@kbes.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.
>
>
>--------------------------------------------------------------------------------
>
>Apache/1.3.12 Server at www.kbes.co.kr Port 80 

========================================

웁...별로 좋은 생각은 아니지만
테스트 삼아 .....

----------------------------------------
#!/bin/bash

# 다음과 같이 설정
echo Content-type: text/html

# 다음과 같이 빈행한줄 추가
echo

echo "<html>"
echo "<body>"
echo "<center>"
echo "TEST"
echo "<p>"
echo "</center>"
echo "</body>"
echo "</html>"
----------------------------------------

이와 같이 수정해 보세요..

http://www.linuxchannel.net/temp/test.cgi

에서 테스트해보았습니다.


 
이전글 : [급구!!!! CGI Shell지원]
다음글 : nslookup과 아파치설정에 대해서...  
 from 211.187.71.193
JS(Redhands)Board 0.4 +@

[급구!!!! CGI Shell지원] nslookup과 아파치설정에 대해서...
인쇄용 


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

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