#安装环境
32位  centos 6.0或6.3
apache2.0+
redmine 2.4.2
#整合apache + redmine
#------------------------------------------------------------------
#安装passenger,先停止apache服务
gem install passenger
 
#找到apache apxs路径
#安装并指定passenger关联apache apxs的路径
env APXS2=/usr/local/apache2/bin/apxs passenger-install-apache2-module
#按照提示信息安装
#创建软连接,虚拟成web项目
cd /techcenter/web/ 
mkdir redmine 
ln -s /techcenter/web/redmine-2.4.2/public redmine 
chown -R apache.apache redmine 
 
#配置apache httpd.conf文件
vi /usr/local/apache2/conf/httpd.conf 
#在文件最下面增加以下内容 
LoadModule passenger_module /usr/local/ruby-2.0/lib/ruby/gems/2.0.0/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so 
<IfModule mod_passenger.c> 
PassengerRoot /usr/local/ruby-2.0/lib/ruby/gems/2.0.0/gems/passenger-4.0.37 
PassengerDefaultRuby /usr/local/ruby-2.0/bin/ruby 
</IfModule> 
RailsBaseURI /redmine 
<Directory "/techcenter/web/redmine"> 
Allow from all 
Options -MultiViews 
</Directory> 
#退出保存 
#重启apache!
参考文档
http://www.modrails.com/documentation/Users%20guide%20Apache.html
#-------------------------------------------------------------------------------------------
#整合apache + redmine完毕!http协议请求方式  http://IP/redmine  测试