Project

General

Profile

Making redmine work under apache

Added by Ahmed Charfeddine about 13 years ago

Hi,
I managed to install redmine and it works when I ran WEBrick webserver.
However I fail to make it work with Apache.

I am using Ubunto 8.04

I followed all instructions here : http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu
starting from the paragraph titled :
"Redmine Installation on Virtual or Normal Ubuntu < 10.04".

But when accessing the site, I only see a listing of the files under the "public" subdirectory of redmine.
This is logical since apache lacks the information of how to route the request to the passenger module which in turn would execute the ruby scripts.
So I had to create and make a .htaccess file like on this link http://wiki.oseems.com/web/redmine/install-in-ubuntu which is referenced by the install page.

However, all that happens is that the content of dispatch.cgi is printed in the web browser.

Any help ?

Thanks in advance.


Replies (2)

RE: Making redmine work under apache - Added by Alex A about 13 years ago

Can u show apache.conf ?

RE: Making redmine work under apache - Added by Ahmed Charfeddine about 13 years ago

Here it is.
However I don't think I ever touched it.

The information of virtual domains is put on separate files. I put redmine on a subdirectory of the root document directory of one of those domains, so I did not need to add a virtual host entry in apache for the redmine application.
The information of passenger module is also put on separate file like all modules wich have their .conf and .load in the mods-available subdirectory of apache2.

    (1-2/2)