728x90
반응형
현재 노트북에서 설정은 8000 번 포트를 사용함.
WordPress 에 html 디렉토리를 만들고 테스트중
So....개발및 테스트는 http://localhost:8000/html/ 에서 진행함
1. wordpress 디렉토리 아래에 html 디렉토리 생성
https://도메인명/html/ 접근해보면 Forbidden 뜸...
2. test.php 생성
그런데, https://도메인명/html/test.php 로 하면, 웹사이트가 뜸.
index.html 파일을 만들어 놓으면, 파일명을 쓰지 않아도 됨...즉, index.html 을 자동으로 찾는것임.
====================================================
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub</title>
</head>
<body>
GitHub Test....Just Kidding
</body>
</html>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub</title>
</head>
<body>
GitHub Test....Just Kidding
</body>
</html>
====================================================
728x90
반응형
'IT > PHP,WORDPRESS' 카테고리의 다른 글
Visual Studio Code에서 PHP 개발환경 설정하기 (0) | 2022.09.09 |
---|---|
WordPress 설치후 admin 페이지 로그인 (0) | 2022.09.09 |
wordpress DB 비밀번호가 변경되서 로그인이 안될때 조치법 (0) | 2022.08.28 |
cafe24 DB 접속하기 (0) | 2022.08.28 |
nginx와 php 연동하기 (0) | 2022.02.13 |
댓글