그누보드 업데이트가 아닌 새롭게 설치 시 작업들 > 홈페이지제작 그누보드

본문 바로가기

사이트 내 전체검색

뒤로가기 홈페이지제작 그누보드

그누보드 업데이트가 아닌 새롭게 설치 시 작업들

페이지 정보

작성자 최고관리자 작성일 22-11-23 20:31 조회 1,057 댓글 0

본문

###################################################################

#    그누보드 새롭게 설치 시 작업들.


1. 백업 및 설치 완료 후 복구

 1) 디비백업 : 새롭게 설치 시 기존디비 없어짐. 

     - 백업 : mysqldump  -u user -p db명 > 파일명

    - 복구 : mysql -u user -p db명 < 파일명

 2) 기존홈페이지 :

   - 특히 /data, /include, /사진 /webalizer  폴더 필히 백업 및 복구


2. /img/logo.png 파일 교체


3. G5_THEME_PATH 확인 : /theme/basic 

 1) index.php 파일 수정

 2) tail.php 파일 수정

 

4. 검색 기본 항목 수정

 /lib/get_data.lib.php



#####  .htaccess 파일들  

1) 최상단 디렉토리

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^ - [L]

RewriteRule ^content/([0-9a-zA-Z_]+)$  bbs/content.php?co_id=$1&rewrite=1  [QSA,L]

RewriteRule ^content/([^/]+)/$  bbs/content.php?co_seo_title=$1&rewrite=1      [QSA,L]

RewriteRule ^rss/([0-9a-zA-Z_]+)$  bbs/rss.php?bo_table=$1        [QSA,L]

RewriteRule ^([0-9a-zA-Z_]+)$  bbs/board.php?bo_table=$1&rewrite=1      [QSA,L]

RewriteRule ^([0-9a-zA-Z_]+)/([^/]+)/$ bbs/board.php?bo_table=$1&wr_seo_title=$2&rewrite=1      [QSA,L]

RewriteRule ^([0-9a-zA-Z_]+)/write$  bbs/write.php?bo_table=$1&rewrite=1    [QSA,L]

RewriteRule ^([0-9a-zA-Z_]+)/([0-9]+)$  bbs/board.php?bo_table=$1&wr_id=$2&rewrite=1  [QSA,L]

</IfModule>



2) /data

<FilesMatch "\.(htaccess|htpasswd|[Pp][Hh][Pp]|[Pp][Hh][Tt]|[Pp]?[Hh][Tt][Mm][Ll]?|[Ii][Nn][Cc]|[Cc][Gg][Ii]|[Pp][Ll])">

Order allow,deny

Deny from all

</FilesMatch>



 

댓글목록 0

등록된 댓글이 없습니다.

Copyright © beautipia.co.kr. All rights reserved.

contact : webmaster@beautipia.co.kr

PC 버전으로 보기