문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
dokuwiki [2010/11/25 21:32] kwon37xi |
dokuwiki [2019/06/12 10:35] kwon37xi |
||
---|---|---|---|
줄 4: | 줄 4: | ||
* http:// | * http:// | ||
+ | ====== 파일 정리 ====== | ||
+ | * /var/www/ 에 dokuwiki 파일 압축을 푼다. | ||
+ | * $ mv / | ||
+ | * $ chown -R www-data: | ||
+ | ====== Apache 기본 설정 ====== | ||
+ | * / | ||
+ | * [[apache: | ||
+ | * / | ||
+ | < | ||
+ | Alias /wiki / | ||
+ | < | ||
+ | AllowOverride All | ||
+ | </ | ||
+ | </ | ||
+ | * **AllowOverride All**은 .htaccess 파일 접근 권한 때문에 필요하다. | ||
+ | * / | ||
+ | ====== 서버 설정 마무리 ====== | ||
+ | * http:// | ||
+ | * 완료후 install.php는 삭제해버린다. | ||
+ | * '' | ||
+ | sudo apt-get install php7.0-xml | ||
+ | sudo service php-fpm restart | ||
+ | </ | ||
+ | ====== 보안 ====== | ||
+ | * dokuwiki 아래의 bin, | ||
+ | * 만약 위 디렉토리에서 접근 가능한 파일이 있다면 그것은 아파치 설정에서 **AllowOverride All**이 빠져있기 때문일 수 있다. | ||
+ | * 사용자 Register 방지 : 나 외의 다른 사용자는 가입 불가이며, | ||
+ | * conf/ | ||
+ | ====== 예쁜 URL 만들기 ====== | ||
+ | * http:// | ||
+ | * .htaccess에서 주석 풀어주고, | ||
+ | * conf/ | ||
+ | * < | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | </ | ||
+ | |||
+ | ====== Template Hook ====== | ||
+ | * 템플릿 코드 변경없이 특정 위치에 HTML을 삽입할 수 있게 해줌. | ||
+ | * [[https:// | ||
+ | |||
+ | the template directory ('' | ||
+ | |||
+ | ^ Filename | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | ====== Plugins ====== | ||
+ | * 플러그인은 '' | ||
+ | * 플러그인 관리자에서 직접 다운로드해 설치할 수도 있고, 파일을 받아서 해당 디렉토리에 압축을 풀어도 된다. | ||
+ | |||
+ | ===== 현재 적용된 플러그인 ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * 사용자 정의 명령 추가. | ||
+ | * '' | ||
+ | * [[https:// | ||