For the life of me cannot remove "/redmine" from main url

Added by jeff j over 9 years ago

Hi there, I have repeatedly tried to remove the "/redmine" from our root URL by following the instructions here: http://wiki.bitnami.org/Applications/BitNami_Redmine_Stack#How_to_change_the_default_URL_to_the_root.3f

However, I cannot get the dang thing to work. Could someone please tell me if I'm missing something? It's running on Debian Linux with the Bitnami Redmine install.

In the mongrel_cluster.yml I completely delete the "prefix: /redmine" line. I then set my redmine.conf file to look like this:

<VirtualHost *:80>
ServerAdmin
ServerName redmine.internal.sys
ServerAlias redmine.internal.sys
ErrorLog "logs/error.log"
CustomLog "logs/access.log" combined # this not only blocks access to .svn directories, but makes it # appear as though they aren't even there, not just that they are # forbidden
<DirectoryMatch "^/.*/\.svn/">
ErrorDocument 403 /404.html
Order allow,deny
Deny from all
Satisfy All
</DirectoryMatch> # This passes through remote_user to mongrel
RewriteEngine On # Redirect non-static requests to cluster
RewriteCond /{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://redminecluster%{REQUEST_URI} [P,QSA,L]
</VirtualHost>

<Proxy balancer://redminecluster>
BalancerMember http://127.0.0.1:3001
BalancerMember http://127.0.0.1:3002
</Proxy>

Restart services with ctlscript.sh and try to visit redmine.internal.sys
I still get the main landing page that says "Welcome! Access BitNami Redmine Stack" and when I click the link I get the following error:

Not Found

The requested URL /redmine/ was not found on this server.

I just want to completely get rid of the dang Welcome! page and remove the /redmine path from my URL. Can anyone help?

Thanks!

Replies (4)

RE: For the life of me cannot remove "/redmine" from main url - Added by jeff j over 9 years ago

Oh and the version is the pre-packaged Bitnami Redmine 1.2.1-2

RE: For the life of me cannot remove "/redmine" from main url - Added by jeff j over 9 years ago

Bump. Has anyone run into this issue? Anyone at all?

RE: For the life of me cannot remove "/redmine" from main url - Added by Aziz Bekkine about 9 years ago

Same thing here... and still looking for a solution. Stated solutions worked well for Django and Joomla, but when it comes to Redmine, i could not figure it out...

I'll inform you about any progress, and it would be nice to hear about any progress you have...

Regards.

RE: For the life of me cannot remove "/redmine" from main url - Added by Aziz Bekkine about 9 years ago

Got it working now... Besides the changes above, commented out the "DocumentRoot" line in httpd.conf file.

(1-4/4)