SSLの信頼性でコケてる可能性が高い。apacheユーザでログインして、svn logとかすることで、apacheのhome directory に.subversion をつくっておけばOK!
apacheでログインするには、シェルを変更しないといけないかも。。 ログイン不可ユーザの設定を変える
[root@centos redmine-1.0.0]# cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock default-character-set=utf8 <-これ user=mysql 割愛 [root@centos redmine-1.0.0]#
Redmineが、Mongrelとかでhttp://localhost:3000/redmine というコンテキストパスで起動している前提で、Apacheの設定ファイルに以下を追加します
cat /etc/httpd/conf.d/mongrel.conf
ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /redmine http://localhost:3000/redmine ProxyPassReverse /redmine http://localhost:3000/redminem
これでApacheからMongrelにproxyすることができます。
まずは設定ファイルで基本的な設定をしておきます。
[root@www config]# cd /opt/redmine-1.0.0/ [root@www redmine-1.0.0]# cp -pfr config/email.yml.example config/email.yml [root@www redmine-1.0.0]# /etc/init.d/redmine restart [root@www redmine-1.0.0]# cat config/email.yml 〜 割愛 〜 production: delivery_method: :smtp smtp_settings: address: 127.0.0.1 port: 25 domain: example.net #authentication: :login #user_name: "redmine@example.net" #password: "redmine" development: delivery_method: :smtp smtp_settings: address: 127.0.0.1 port: 25 domain: example.net authentication: :login user_name: "redmine@example.net" password: "redmine" [root@www redmine-1.0.0]#
次にRedmineの管理画面(管理>>設定>>メール通知) で設定をすればOKです。
<Location "/svnhogehoge"> <-適宜。 DAV svn SVNPath /opt/svnroot <-適宜あわせる Require valid-user # mod_auth_mysql AuthName "Subversion repository" AuthType Basic AuthMySQLEnable on AuthMySQLUser redmine <-適宜 AuthMySQLPassword redmine <-適宜 AuthMySQLDB redmine <-適宜 AuthMySQLNameField login AuthMySQLPasswordField hashed_password AuthMySQLUserTable "users,members,projects" AuthMySQLUserCondition "users.id=members.user_id and projects.id=members.project_id and projects.identifier='hogehoge'" identifierだけ、各プロジェクトの識別子にあわせる ↑ AuthMySQLPwEncryption sha1 </Location>
この記事は
現在のアクセス:10102