>> Read No. 27522 article  
안됩니다. (T.T)

등록 2001-04-17 20:06:00     조회 1
이름 열심히    

		레드햇 7.0을 깔고 아파치 1.3.12를 설치 했습니다. 여기서 cgi를 돌릴려는
데 자구만 internal server error인가 이런에러가 납니다. 혹시 cgi프로
그램이 잘못되었나 싶어 아파치에서 제공하는 소스를 돌렸는데도 같은
에러가 납니다. 설정은 아래와 같습니다.
 DocumentRoot "/var/www"
#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# permissions. 
#
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
 ........
 <Directory "/var/www">
 # This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes 
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
   AllowOverride None
 # Controls who can get stuff from this server.
#
    Order allow,deny 
    Allow from all   
</Directory>
 #
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
UserDir public_html
 ......
 ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
ScriptAlias /aaa/ "/var/www/aaa/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
    AllowOverride None
    #Options  ExecCGI
</Directory>
 <Directory "/var/www/mycgi">
    Options Indexes MultiViews FollowSymLinks Includes ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
 여기서 빠진부분이나 아님 다른 더 보충할 것이 있는지 알려주십시요.
그리고 제가 테스트할려는 cgi는 다음과 같습니다.
#!/usr/bin/perl  <=perl경로 맞음
print ("ok");
 이파일을 퍼미션 777임  이파일의 위치는 /var/www/mycgi/aaa.cgi 입니다.
쉘상에서는 아주 실행이 잘됩니다. 하지만 브라우져로 하면 에러가 납니다.
 보시고 꼬~옥 답변부탁합니다.
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 1.30 초 ] 작업시간: [ 0.1 초 ]

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

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789570018
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.