Project

General

Profile

Trouble with Redmine 2.3.1 inside Apache2

Added by Eric Guimarães de Sousa Silva about 11 years ago

Hello.

I'm stucked on trying to configure Redmine 2.3.1 to work inside Apache 2.2.21. I have followed several tutorials and HowTo's, but with no one I was able to reach a good result.

Redmine is working fine at WebRick's server. The environment is: Oracle Linux 6.4 x86_64 inside Virtual Box 4.2.12, ruby1.8.8dev, rails3.2.13, rake10.0.4 .

In general, I've tried two different ways:

1 - Using Apache's mod_fastcgi, fcgi gem and setting a VirtualHost on Apache;
2 - Installing Passenger gem and Apache's module and setting a VirtualHost on Apache.

I would like to know if anyone here already did this process to tell me how's the most efficient way to do it (and if it's actually possible), or if I'm missing with something on the way.

Another thing that wasn't clear to me is if using Phusion Passenger I also need to use mod_fastcgi and fcgid.

Regards,

Eric


Replies (1)

RE: Trouble with Redmine 2.3.1 inside Apache2 - Added by Eric Guimarães de Sousa Silva about 11 years ago

As recommended on the "How to request help" topic, here comes some information:

Ruby: 1.8.8dev
Rails: 3.2.13 (gem)
O.S.: Oracle 6.4 x86_64 inside VirtualBox 4.2.12
Database: MySQL 14.14 Distrib 5.1.69
Adapter: mysql2
Server: Trying to move from Webrick (which is OK) to Apache 2.2.21

Output of RAILS_ENV=production script/about:

/usr/local/lib/ruby/gems/1.8/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:19: warning: already initialized constant UnknownFileType
/usr/local/lib/ruby/gems/1.8/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:126: warning: already initialized constant TypeFromExt
/usr/local/lib/ruby/gems/1.8/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:132: warning: already initialized constant TypeFromShebang
/usr/local/lib/ruby/gems/1.8/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:138: warning: already initialized constant TypeFromName

Environment:
Redmine version 2.3.1.stable
Ruby version 1.8.8 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
redmine_schedules 0.5.0
redmine_scrumdashboard 2.1

I will post in sequence how and where I'm having the issues, either with mod_fastcgi and with Phusion Passenger.

Regards,

Eric.

    (1-1/1)