Redmine を Apache 経由で動かす方法を説明します。 Redmine をサブディレクトリで動かすも 行うと一つのサーバーで Apache で通常のWebサービスを提供した上で Redmine と Apache を共存できます。
ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/
参考
# /etc/init.d/apache2 start httpdを起動中: [ OK ]
http://localhost/
# apt-get -y install subversion # apt-get -y install MySQL-shared # apt-get -y install MySQL-ruby # apt-get -y install MySQL-server # apt-get -y install MySQL-client # apt-get -y install rubygems # chkconfig apache2 on # chkconfig mysql on # /etc/init.d/mysql start # gem install rake # gem install mongrel_cluster --include-dependencies # gem install rails --include-dependencies # adduser redmine # passwd redmine $ svn co http://redmine.rubyforge.org/svn/tags/0.6.3 redmine $ mysqladmin -u root password mysql $ mysql -u root -p $ cd redmine/ $ cp config/database.yml.example config/database.yml $ vi config/database.yml $ rake db:migrate RAILS_ENV="production" $ rake load_default_data RAILS_ENV="production" $ mongrel_rails cluster::configure -e production -p 3000 --prefix=/redmine $ mongrel_rails start -d -e production -p 3000 --prefix=/redmine # cd ~apache/ # vi /etc/apache2/conf/httpd.conf # /etc/init.d/apache2 restart