I tried to change the default URL of redmine as dscribed in the wiki http://wiki.bitnami.org/Applications/BitNami_Redmine_Stack Instead of www.abc.de/redmine I want to use www.abc.de to access redmine application.

But after replacing the given code of the wiki into the file installdir/apps/redmine/conf/redmine.conf I still get the bitnami startpage with www.abc.de and redmine doesn't work any longer (page not found..). I tried to modify the server entries in the virtual host area of the code, but with no success.

I use redmine 1.1.2 bitnami stack on a VMware Server.

What to do?

asked 26 Oct '11, 08:32

Dieter%20Egert's gravatar image

Dieter Egert
1123
accept rate: 0%

edited 26 Oct '11, 08:33

Did you restart the apache server? Try to refresh your browser or remove the cache.

(26 Oct '11, 12:11) Beltran Rueda ♦♦

OK, I also had to do these things:

  • modifying mongrel_cluster.yml
  • clear cache after restart of apache (Strg R)

With this I got the URL http://abc.de running instead of http://abc.de/redmine

Unfortunately this still doesn't work with https://abc.de. Previously with URL-extension /redmine it worked already (I modified the apache file httpd-ssl.conf accordingly). I tried to change the port in the virtual host to 443 instead of 80, but it didn't work.

Also a new problem: Whenever I try to choose a project with the pulldown-list I get a error message: Not Found The requested URL /projects/internal was not found on this server. Similar error appears after saving any change in the settings of a project.

Also: What values should be used for ServerAdmin ServerName and ServerAlias in redmine.conf ?

(27 Oct '11, 16:46) Dieter Egert

It seems that the servers are currently deploying Redmine in "/redmine". If you have replaced the prefix with "/" in the mongrel_cluster.yml, restart the servers and the Apache itself:

$ sudo /opt/bitnami/ctlscript.sh restart redmine

$ sudo /opt/bitnami/ctlscript.sh restart apache

(28 Oct '11, 05:18) Beltran Rueda ♦♦

I always restart after changes all processes with

$ sudo /opt/bitnami/ctlscript.sh restart

Therefore I removed in mongrel_cluster.yml the line

prefix: /redmine

completely as I understood the wiki text in this way. Was this wrong? Should I just modifying it?

prefix: /

It didn't work with Slash I got an error-message at restart of redmine: !!! Prefix must begin with / and not end in / mongrel::start reported an error.

It didn't work with just

prefix:

With that I got the error message at restart:

/opt/bitnami/apache2/scripts/ctl.sh : httpd could not be started

(28 Oct '11, 05:24) Dieter Egert

Sorry I was confused, you should remove the "prefix" option from the file. What is the number of the mongrels in this file and the initial port? It should be related to the redmine.conf file.

(29 Oct '11, 14:31) Beltran Rueda ♦♦

In mongrel_cluster.yml I have the entries:

  • port: "3001"
  • servers: 2

In redmine.conf I have 2 servers

I also tried with http instead of https. But as mentioned above there seems to be a mismatch with https. There are 2 virtual hosts now, one with port 80, the other with port 443, same ServerName. Maybe I have to configure them in a different way.

(31 Oct '11, 05:28) Dieter Egert

In this case it seems everything is ok. Try to restart the servers and access to http://YOUR_IP:3001 or http://YOUR_IP:3002. If you are running a Virtual Appliance it is necessary to open these ports in the firewall.

http://wiki.bitnami.org/Virtual_Appliances_Quick_Start_Guide#How_to_configure_the_Firewall.3f

If you can access to the application, the configuration is ok in the application itself and the error should be in the Apache configuration.

(31 Oct '11, 07:21) Beltran Rueda ♦♦

Have you solved the problem? I'm working on it also.

(03 Nov '11, 04:01) Sergey Ratz

Not yet solved. I tried http://MY_IP:3001 : No server response. Then I opened port 3001 and 3002 as describend. Now the server responses with http://MY_IP:3001 !

I got the start page of redmine, but without pictures. Also if I use httpS://MY_IP:3001 I get a error Message: Datatransfer was interrupted.

With http://abc.de/ I'm still redirected to https://abc.de/redmine with error message: Page not found.

(03 Nov '11, 11:56) Dieter Egert

I am also trying to get this to work. Im using the Amazon EC2 AMI bitnami-redmine-1.2.1-0-linux-x64-ubuntu-10.04-ebs.

I'm having the same exact issue as the original poster.

Please help.

(03 Nov '11, 12:57) mattburris
showing 5 of 10 show all

I configured the BitNami Redmine URL successfully following these steps.

  1. Edit the /opt/bitnami/apps/redmine/config/mongrel_cluster.yml and remove the "prefix" option.
  2. Edit the /opt/bitnami/apps/redmine/conf/redmine.conf file and write the file that you can find at http://wiki.bitnami.org/Applications/BitNami_Redmine_Stack#How_to_change_the_default_URL.3f
  3. Then restart the servers

    $ sudo /opt/bitnami/ctlscript.sh restart

link

answered 04 Nov '11, 05:19

Beltran%20Rueda's gravatar image

Beltran Rueda ♦♦
11.1k81550
accept rate: 25%

edited 04 Nov '11, 05:23

That's exactly what I did, just it works only with http and not with https (different virtual host).

(04 Nov '11, 06:23) Dieter Egert
1

It works!! thank you.

(04 Nov '11, 18:41) mattburris
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×401
×119
×30

Asked: 26 Oct '11, 08:32

Seen: 3,017 times

Last updated: 04 Nov '11, 18:41

powered by BitNami OSQA