모니위키/분양/setting (rev. 1.1)
- ncity edition file → hosting server
- .htaccess code 수정
RewriteBase /wiki_ncity → RewriteBase /w1
- http://icehit3.ncity.net/w1/ 접속 → ./monisetup.php
- ./w1 & ./w1/data permission 변경 (2777)
- ./monisetup.php 리로딩
- config 설정 : 이 부분이 기본으로 설정되도록, config.php.default 수정 필요
$sitename='w1';
$query_prefix ="/";
$auto_linebreak=0;
$use_sectionedit=1;
$admin_passwd=moniwikincity; #이 부분은 관리자가 임의 설정
- wiki 씨앗 심기
- 이미지 무단링크 방지 → ./pds/에 하기 .htaccess 파일 업로드 → 향후 혼동 방지를 위해 angryman2.gif 업로드 위치를 http://icehit3.ncity.net/이나 피카사로 옮길 필요 있음 → 피카사로 이동 완료
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?icehit3.ncity.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?allblog.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?hanrss.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?wzd.com [NC]
RewriteCond %{HTTP_REFERER} !search\.naver\.com [NC]
RewriteCond %{HTTP_REFERER} !feedburner\. [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !metalooks\. [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ https://lh6.googleusercontent.com/-S2BMT0D8Ayk/UFCW3F7VhmI/AAAAAAAALYc/XXum2Zfhfys/s400/angryman2.gif [NC,R,L]
- 업로드 가능한 파일 종류 : jpg, jpeg, png, gif, txt, doc, ppt, xls, css, hwp, pdf, php,
- 시스템 페이지 제목 한글화