// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
#contents


** MySQLで文字化けしない設定 [#u195c013]
 [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]#


** Apacheと連携する [#j303f1b5]
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することができます。


----
この記事は
#vote(おもしろかった,そうでもない)

#comment
#topicpath


SIZE(10){現在のアクセス:&counter;}

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS