>> Edit article
이름
제목
패스워드
.... # # 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.. -.-;
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved