T

htdocs 에서........index.html 이나 index.php 로..

· 2003-09-19 (금) 07:18:39 · 709 · 6
제 아파치가.....

/htdocs/gnu  이렇게 설치 되있습니다.

문제는 .....

http://aa.aa.com  일때 ....  http://aa.aa.com 로 치면   바로 그누보드로 들어가게 하는방법 없습니까?

http://aa.aa.com/gnu 해야 들어가던데..

index.php 파일을 htdocs 에 이동시켜서 실행하니 아무것도 안되네요..


그러니 제말은.......

/htdocs/gnu  이렇게 폴더 지정하고..

http://aa.aa.com/ 만쳐도 그누보드 들어가게 하는방법 없습니까?
|

댓글 6개

2003-09-21 (일) 18:16:42
옷!!

<?
header("location:./gnu/index.php");
?>

이게 더 좋군요 ........속도 빠르고... 새로고침해도 그대로고 .. 그대신 주소줄이 길게 보이지만 그거야 어지피 상관없으니 ....
배배부른꿀꿀이
2003-09-19 (금) 22:11:39
계정루트 디렉토리의 index화일에 다음을작성합니다.
<?
header("location:./gnu/index.php");
?>
-.-;;
gnu라는 폴더를 만들지 마시고.. 최상위 디렉토리에 바로 파일과 폴더들을 업로드 하시고 바로 설치하면 됩니다.
감사 합니다.
<html>
<head><title>신지님 홈페이지</title>
</head>

<frameset rows="*,1" frameborder="0" border=0 framespacing="0">
<frame name="main" src="http://aa.aa.com/gnu/index.php" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0" framespacing="0">
<frame>
<noframes>
<body bgcolor="#ffffff">
<p align=center>
Not Found Document and FRAME not supporting....</p>
</body>
</noframes>
</frameset>
</html>

요걸 /htdocs/index.html로 저장하시고 http://aa.aa.com 하시면 됩니다.
아 저도 그방법이야 알죠 .. 근데 다른폴더가 또 있어서 .........
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

9,564건
+
제목 글쓴이 날짜 조회
03-09-19 조회 864
03-09-19 조회 768
03-09-19 조회 1,202
03-09-19 조회 600
03-09-19 조회 1,028
JJ.Mando
03-09-19 조회 968
JJ.Mando
03-09-19 조회 584
03-09-19 조회 796
03-09-19 조회 605
03-09-19 조회 568
03-09-19 조회 737
03-09-18 조회 466
03-09-19 조회 746
03-09-19 조회 697
03-09-19 조회 710
03-09-18 조회 643
03-09-18 조회 470
03-09-18 조회 696
03-09-18 조회 761
03-09-18 조회 527