케이스)
cafe24에 xe3설치전에 phpMyAdmin을 업로드하여
"http://url/phpMyAdmin/" 경로에소 db확인및 스키마 정의가능했음
xe3업로드 설치후
"http://url/phpMyAdmin/" 로 접근하면 xe3첫화면으로 redirection됨.
xe3를 설치한 root의 .htaccess 파일을 확인하면 아래와 같이 phpMyAdmin 폴더 access접근 설정이 있고 없으면 추가한다.
아래 붉은색 phpMyAdmin 은 폴더명임. 바꿔서 세팅가능.
아래 내용으로 보면 http://url/phpMyAdmin/index.php 로 php파일명까지 정확히 지정해주면 phpMyAdmin페이지에 접근됨
.htaccess는 폴더 보안과 요청된 페이지의 접근(rewite engine)설정을 관리자가 필터링하여 좁힐수 있다.
----------------------------
.htaccess 파일 코드
RewriteEngine On
...
# allow for phpMyAdmin
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^phpMyAdmin/.* - [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^web_installer/index.php - [L]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^web_installer web_installer/index.php [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule \.php$ index.php [L]
...
----------------------------
'오픈소스 > Xpress Engine' 카테고리의 다른 글
xe3 smtp 설정 (gmail) (0) | 2020.09.25 |
---|---|
[XE3] 익스텐션 추가후 사이트 에러 (0) | 2020.07.26 |
XE3 설치 (0) | 2020.05.26 |