>> Read Reply from No. 42927 article  
RE: httpd.conf 에서 확인할 내용적어 보았습니다.

등록 2002-02-20 21:33:00     조회 1
이름 handsoul    

		....
 #
# DirectoryIndex: Name of the file or files to use as a pre-written
HTML
# directory index.  Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.php3 index.cgi
index.shtml index.phtml index.php register.php
</IfModule>
 .....
  #
    # AddType allows you to tweak mime.types without actually editing
it, or to
    # make certain files to be certain types.
    #
    # For example, the PHP 3.x module (not part of the Apache
distribution - see
    # http://www.php.net) will typically use:
    #
    #AddType application/x-httpd-php3 .php3
    #AddType application/x-httpd-php3-source .phps
    #
    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php .html
    AddType application/x-httpd-php .htm
    AddType application/x-httpd-php .phtml
    AddType application/x-httpd-php-source .phps
     AddType application/x-tar .tgz
 ........
  
#######################################################################
######
 # jsboard security modify sum code 보안 패치
   
  <DirectoryMatch "^/.*/jsboard/data">
    AddType application/x-httpd-php3-source .phps .php
      .ph .php3 .cgi .sh .pl .html .htm .shtml .vbs .ins
    AddType application/x-httpd-php-source .phps .php .ph
      .php3 .cgi .sh .pl .html .htm .shtml .vbs .ins
   
    ErrorDocument 403
    http://jsboard.kldp.org/ErrorMSG/error_msg.php?l=ko&c=403    
    <Files ~ ".*.ph$">
      Order allow,deny
      Deny from all
    </Files>
  </DirectoryMatch>
   
   
#######################################################################
######
 ....
 위내용 이상없으시면 cgi 설정 부분을 다시 확인해보시구여..
 퍼미션 확인해보시구여...
 http.conf php 모듈설정 확인해보시구여....
 perl 경우 # perl -e test.pl ( 맞는지 모르겠네욤.. )
 이란 구문이 있는데.. 제가 php는 초보라서.. ^^
 php도 쉘에서 체크하는 거 있을거 같은데...
   도움이 되었기를 바라며.. 부족한 내용은 고수님께서 리플 부탁드립니다.
  아차 다른분이 정확히 지적하셨네욤.. ^^
 test.php4 를 test.php 이렇게 이름을 바꾸고 해보세욤.. ^^
 php4라는 확장자는 안쓰심이 저을듯.. ^^
   : 안녕하세욧..
:
: A.P.M 을 소스로 겨우 설치하구요.
:
: 아파치 데몬 실행시키구
:
: mysql 데몬 실행시켜놓구여..
:
: http://localhost/
:
: 를 열면 index.html 파일이
:
: 잘열립니다.
:
: htdocs 디렉토리에
:
: test용으로 ..
:
: test.php4 (php4를설치했어요)
:
: <?
: phpinfo();
: ?>
:
: 라는내용으로 만들었읍니다.
:
: 그런데 http://localhost/test.php4
:
: 를 열면요..
:
: <?
: phpinfo();
: ?>
:
: 라고 그냥 나오네요.
:
: httpd.conf 파일에서
:
: php4 설정부분에서..
:
: 보면요..
:
: 주석처리도 뺐구여..
:
: 물론 php4 용을 뺐구요..
:
: 그래서보면..
: #
: # And for PHP 4.x, use:
: #
: Addtype application/x-httpd-php. php
: Addtype application/x-httpd-php-source. phps
:
: Addtype appliction/x-tar .tgz
:
: 라고 적혀있는데 맞죠^^??
:
: 음..어쨋든 답변 부탁드려요 ^^;
:
: 긴내용..읽어주셔서 감사하구여..
:
: 그럼 오늘도 좋은하루~^^
:
: --
: 이 곳에 서명을 적어주십시오.
:
: 오늘도 좋은하루^^
 --
anti cracking.. -.-;
이름
암호


>> 관련글
42927 test.php4. 가 안열립니다.[질문]  현호  2002.02.20  ....
  답장 RE: httpd.conf 에서 확인할 내용적어 보았습니다.  handsoul  2002.02.20  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.44 초 ] 작업시간: [ 0.05 초 ]

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: 1791734192
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.