スポンサーリンク


サービス登録

C:\mongrel>gem install mongrel --local
Successfully installed gem_plugin-0.2.3
Successfully installed cgi_multipart_eof_fix-2.5.0
Successfully installed mongrel-1.1.5-x86-mingw32
Successfully installed win32-service-0.5.2-x86-mswin32
Successfully installed mongrel_service-0.3.4-x86-mswin32
5 gems installed
Installing ri documentation for gem_plugin-0.2.3...
Installing ri documentation for cgi_multipart_eof_fix-2.5.0...
Installing ri documentation for mongrel-1.1.5-x86-mingw32...
Installing ri documentation for win32-service-0.5.2-x86-mswin32...
Installing ri documentation for mongrel_service-0.3.4-x86-mswin32...
Installing RDoc documentation for gem_plugin-0.2.3...
Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0...
Installing RDoc documentation for mongrel-1.1.5-x86-mingw32...
Installing RDoc documentation for win32-service-0.5.2-x86-mswin32...
Installing RDoc documentation for mongrel_service-0.3.4-x86-mswin32...
gem install mongrel
gem install win32-service -v 0.5.2
gem install mongrel_service -r
C:\>mongrel_rails service::install -N "Redmine" -c c:\redmine -p 3000 -e production

** Copying native mongrel_service executable...
Mongrel service 'Redmine' installed as 'Redmine'.
c:\> sc config Redmine start= auto depend= MySql

サービス起動

Windowsのサービス設定で「Redmine」を開始。

バーチャルホストの設定

C:\xampp\apache\conf\extra\httpd-vhosts.conf

NameVirtualHost *:80
<VirtualHost *:80 >
    DocumentRoot "C:\xampp\htdocs"
    ServerName localhost
    ErrorLog logs/redmine.dev-error.log
    CustomLog logs/redmine.dev-access.log combined
    ProxyPass /redmine/ http://localhost:3000/
    ProxyPassReverse /redmine/ http://localhost:3000/
</VirtualHost>

C:\xampp\apache\conf\httpd.conf

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

Redmineのルート修正

Redmineへのアクセス

http://localhost/redmine/


Total:5650 / Today:2 / Yesterday:0


スポンサーリンク


トップ   差分 バックアップ リロード   一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2011-01-20 (木) 13:57:34