>> Delete No. 34535 article
No. apache에서 cgi 인식하기

등록 2001-11-09 10:03:00 By localhost     조회 2
이름 하늘이    

		안녕하세요
 와우 7.0을 쓰고 있습니다.
 다름이 아니라 cgi-bin과 그외 다른 디렉토리의 모든 cgi파일을 인식
시키고 싶은데.. 잘 안되네요..
즉 cgi-bin이 인식안되면 그외 다른 디렉토리의 cgi는 인식을 하고
저의 설정은 다음과 같습니다.
 ScriptAlias /cgi-bin/ "/home/도메인/public_html/ok/cgi-bin/"
 AllowOverride None
Options None
Order allow,deny
Allow from all
  하구요..
 AddHandler cgi-script .cgi
 Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
  하고 나서
  ServerAdmin root@도메인
DocumentRoot /home/도메인/public_html/
ServerName 도메인네임
ScriptAlias /apps/ /home/도메인/public_html/ok/cgi-bin/
ErrorLog logs/error_log
CustomLog logs/access_log common
  이렇게 했습니다.
이렇게 하면 일단 cgi-bin외의 다른 디렉토리에서의 cgi는 구현이 되더군요
 그런데... 이렇게 구현도 되면서.. cgi-bin디렉토리안의 cgi도 구현하고 싶
은데.. 이게 잘 안되네요..
 고수님 도와 주세요...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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