>> Edit article
이름
제목
패스워드
님의 문제점은 홈페이지의 메인 페이지 화장자 .html를 아파치 서버에서 인식을 못하는 문제 인것 같습니다... 6.x or 7.x에서 기본값(다시 설치 안했을 경우) /etc/httpd/conf 파일을 6.x or 7.x에서 새로 설치하셨다면 /아파치 설치 디렉토리/apache/conf/httpd.conf 파일을 살펴보시면... # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/var/www/html" <-이부분이 설치경로와 맞는지... 그리고. # # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.cgi 이부분에서... index.html 이 빠져있는지... 또한 이것도(이건 .html 등의 확장자를 가진 파일내용주에... php 소스내용이 있으면... .php 확장자와 같이 취급하다는 설정인데...) AddType application/x-httpd-php .php .php3 .php4 .htm .html .inc AddType application/x-httpd-php-source .phps 처럼 되어 있는지 살펴보세요... 그럼... 피에수 : 이걸로 부디 성공하시길 바랍니다... : 제가 리눅스와 PHP를 이용해 사이트 하나를 만들었는데요. : : 메인페이지 이름이 index.html입니다. : : 여기서 문제되는것이 뭐냐믄 예를들어 제 사이트 이름이 : : www.babo.com인데 www.babo.com을 치면 페이지를 찾을수가 없구 : : www.babo.com/index.html을 쓰면 화면이 뜨더라구요. : : httpd.conf 파일을 몇번이고 다시 봤건만 이상있는곳은 없었습니다. : : 뭐가 문제인지 가르쳐 주시면 고맙겠습니다. : : 참~~신기한거 한가지는 www.babo.com하고 뒤에 / 를 붙이면 : : 페이지가 뜨더라구요..-.-;; : : 너무 초보적인 질문이지만 꼭 답변을 부탁합니다. : : -- : 리눅서가 되는 그날까지..--건투를 빕니다... 개구리가 올챙이 시절없었으면 개구리가 될수 없었구... 초보시절이 없으면... 파워유저 없다... jpool@shinbiro.com (질문은 여기로... 허접이지만 성의껏...)
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved