CONTENTS
Lastmodified 2019-09-27 (金) 05:28:10
kernel: Starting svnserve. kernel: su: kernel: unknown login: svn
106 6:55 cd /usr/home/svn/repos/「リポジトリー名」
153 11:24 chown -R www:www /usr/home/svn
160 12:16 trac-admin /usr/local/www/apache24/data/trac/sandbox initenv 161 12:17 chown -R www:www /usr/local/www/apache24/data/trac/sandbox 162 12:19 apachectl restart 163 12:20 locate mod_python3 164 12:20 portinstall www/mod_python35 165 12:21 apachectl restart
================================================================================ The mod_python module is no longer activated in httpd.conf! There is now a dedicated modules file in etc/apache24/modules.d Also remember to add to your Apache configuration in the appropriate context: PythonPath "['/path/to/foo', '/path/to/bar']" AddHandler python-program .py PythonHandler foobar PythonDebug On For more information, see http://www.modpython.org/. ================================================================================
/usr/local/etc/apache24/modules.d/270_mod_python.conf
LoadModule python_module libexec/apache24/mod_python.so ←これをアンコメントする
/usr/local/etc/apache24/Includes/trac.conf
<Location /trac> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir /usr/local/www/apache24/data/trac PythonOption TracUriRoot /trac </Location>
[authz_policy] authz_file = [components] tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled webadmin.* = enabled [repositories] dir = /usr/home/svn/repos/「リポジトリー名」 sync_per_request = true [trac] repository_dir = /usr/home/svn/repos/「リポジトリー名」 repository_sync_per_request = (default) repository_type = svn
以上の項目を追加。
Total access 2451:本日 1:昨日 0