Category
show
전체 (775)
웹표준, 웹접근성™ (5)
웹프로그래밍™ (360)
웹기획™ (0)
웹디자인™ (5)
서버™ (32)
데이터베이스™ (43)
개발자료 (9)
트랜드 (60)
Study English (2)
블루비 (70)
오피스 다이어리 (19)
Textcube (2)
이슈 (20)
컴퓨터 악세사리 (18)
엔터테인먼트 (24)
좋은글 (73)
재테크 (1)
이벤트 (4)

Trac AccountManagerPlugin 설치 및 설정

웹프로그래밍™/Trac, SVN, Eclipse 2008/01/04 19:12 by 블루비 Total 974 : Today 4 : Yesterday 0
Trac은 기본적으로 사용자 관리를 지원하지 않는다.

AccountManagerPlugin은 사용자 관리를 지원해 주는 Trac 프러그인 이다.

설치 방법
# easy_install http://trac-hacks.org/svn/accountmanagerplugin/0.10
Downloading http://trac-hacks.org/svn/accountmanagerplugin/0.10
Doing subversion checkout from http://trac-hacks.org/svn/accountmanagerplugin/0.10 to /tmp/easy_install-ywwLB6/0.10
Processing 0.10
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-ywwLB6/0.10/egg-dist-tmp-WZOCHQ
Adding TracAccountManager 0.1.3dev-r2548 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/TracAccountManager-0.1.3dev_r2548-py2.5.egg
Processing dependencies for TracAccountManager==0.1.3dev-r2548
Finished processing dependencies for TracAccountManager==0.1.3dev-r2548
#

설치 후 Trac Project 페이지 접근이 에러 메시지가 나오는 경에는 apache host conf 파일에
SetEnv PYTHON_EGG_CACHE /tmp/trac-eggs 내용을 추가 한다.
<Location /project> #set up Trac handling
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
#PythonOption TracEnvParentDir /var/lib/trac
PythonOption TracEnv /var/lib/trac/project
PythonOption TracUriRoot /project
SetEnv PYTHON_EGG_CACHE /tmp/trac-eggs
</Location>

Trac 페이지에서 My Account(계정관리) 와 Register(사용자 등록) 사용하기 위에서는 trac.ini 파일에 아래 내용을 추가 한다.

[components]
webadmin.* = enabled
tracrpc.* = enabled
trac.web.auth.loginmodule = disabled
acct_mgr.web_ui.AccountModule = enabled
acct_mgr.web_ui.RegistrationModule = enabled
acct_mgr.admin.AccountManagerAdminPage = enabled
acct_mgr.htfile.HtPasswdStore = enabled

[account-manager]
; configure the plugin to store passwords in the htpasswd format:
password_format = htpasswd
; with Trac 0.10 use this instead:
password_store = HtPasswdStore

; the file where user accounts are stored
; the webserver will need write permissions to this file
; and its parent folder
password_file = /var/lib/trac/kreonetws/.htpasswd

AccountManagerPlugin 메뉴얼
2008/01/04 19:12 2008/01/04 19:12

TRACKBACK :: http://blueb.net/blog/trackback/1030

Leave a Comment
[로그인][오픈아이디란?]
1  ... 230 231 232 233 234 235 236 237 238  ... 775 

달력

«   2008/11   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30