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