Table of Contents
mod_python 설치#
다운로드 & 컴파일#
- mod_python을 설치하기전 apache가 설치 되어 있어야 한다.
wget http://www.apache.org/dist/httpd/modpython/mod_python-3.2.10.tgz tar -xvzf mod_python-3.2.10.tgz cd mod_python-3.2.10 ./configure --with-apxs=/usr/local/apache2/bin/apxs make make install
아파치 설정파일 수정#
vi /usr/local/apache2/conf/httpd.conf >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> LoadModule python_module modules/mod_python.so <Location /trac> SetHandler mod_python PythonHandler trac.web.modpython_frontend #trac PythonOption TracEnvParentDir /rcs/trac PythonOption TracUriRoot /trac PythonOption TracLocale "ko_KR.utf8" </Location> <LocationMatch "/[^/]+/login"> AuthType Basic AuthName "Trac" AuthUserFile /rcs/svn-auth-file Require valid-user </LocationMatch> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Add new attachment
Only authorized users are allowed to upload new attachments.