질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

CGI 실행문제

작성자 정보

  • 송상근 작성
  • 작성일

컨텐츠 정보

본문

cent 4.4 아파치 2.2.3

상태에서 cgi가 실행되지 않아 질문드립니다.

터미널에서 실행하면 문제없이 실행이 됩니다.

아파치는 워커 방식으로 컴파일하여 설치했습니다.

 

1. 설치되 모듈부터 설명드리겠습니다.

 cgid_module (static)
 cgi_module (static)

2. 아파치 httpd.conf 내용


    AllowOverride FileInfo AuthConfig Limit
    Options SymLinksIfOwnerMatch IncludesNoExec ExecCGI
    Order allow,deny
    Allow from all

.....


    ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

......


    Scriptsock logs/cgisock

........


    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all

...........


    SetHandler cgi-script
 
    AddHandler cgi-script .cgi .pl

   ....

3. error.log

[Thu Oct 26 11:34:22 2006] [error] [client xxx.xxx.xxx.122] (13)Permission denied: unable to connect to cgi daemon after multiple tries: /usr/local/apache/htdocs/splinks/setup.cgi


[Thu Oct 26 11:34:22 2006] [error] [client xxx.xxx.xxx.122] Options ExecCGI is off in this directory: /usr/local/apache/error/HTTP_SERVICE_UNAVAILABLE.html.var

※ 어디에서 권한이 없는지 알수가 없습니다.

   setup.cgi 파일의 권한은 755 입니다.


4. 브라우저에 보이는 메세지

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.2.3 (Unix) Server at 218.234.217.248 Port 80

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,034 명
  • 현재 강좌수 :  35,791 개
  • 현재 접속자 :  94 명