Project

General

Profile

Any recent tuto about redmine + centos + apache ?

Added by leandro roggerone over 10 years ago

Hello everyone,
I has been trying to install redmine on my centos 6.4 server without success.
I readed and followed at least 10 tutorials, most of them with different versions of ruby , gems , redmine, centos , and more.
It is the first time for me to deal with RoR application.
Anyway I allwais get stucked on setting apache and passenger. (I made I run with webrik),
The thing is that server allways returns 404 (using redmine 404.html page).

On the Apache side.
Im not sure how to config my redmine.conf to bring the redmine when I point my.ip.ser.er/redmine on my browser.
I used to use the Alias statement but here seems not to work.

On public folder:
I dont know if I must or must not edit the dispatch.fcgi.example or the htaccess.fcgi.example , some tutos don't even mention those files other edits and add some lines on them.

On passenger:
Where can I see or config the logs ? When module is enabled I don't know where to look for problems.

Anyway , I hope someone can help me , I can provide more info but I don't know wath to show here.
Leo.


Replies (1)

RE: Any recent tuto about redmine + centos + apache ? - Added by Mischa The Evil over 10 years ago

leandro roggerone wrote:

Anyway I allwais get stucked on setting apache and passenger. (I made I run with webrik)

So I think you want to deploy current Redmine 2.x (a Rails 3/Rack application1) using Passenger as application server running as an Apache module.

On the Apache side.
Im not sure how to config my redmine.conf to bring the redmine when I point my.ip.ser.er/redmine on my browser.
I used to use the Alias statement but here seems not to work.

See the generic documentation about sub URI deployment with Passenger here.

On public folder:
I dont know if I must or must not edit the dispatch.fcgi.example or the htaccess.fcgi.example , some tutos don't even mention those files other edits and add some lines on them.

When you are deploying Redmine using Passenger as application server you shouldn't have to rename/modify these files. They are only there for use with instances where FCGI is used as the application server.

On passenger:
Where can I see or config the logs ? When module is enabled I don't know where to look for problems.

They are in the log files of Apache when Passenger runs as a module for Apache.

1 Rails 3 is built on top of Rack, for documentation about Rack see http://rack.rubyforge.org/doc/

    (1-1/1)