Project

General

Profile

Howto move from localhost to localhost/redmine

Added by Stefan Brinkmann almost 14 years ago

I want to use some more apps as only redmine on my Server.
So I try to move redmine from Basedir http://localhost to http://localhost/redmine, but it seems there is no chance to get this working.

How to do that?


Replies (2)

Add: Howto move from localhost to localhost/redmine - Added by Stefan Brinkmann almost 14 years ago

My Env. is:

Ruby version              1.8.7 (i486-linux)
RubyGems version          1.3.7
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Edge Rails revision       unknown
Application root          /srv/www/htdocs/redmine
Environment               production
Database adapter          mysql
Database schema version   20100221100219

My VirtualServer is:

<VirtualHost *:80>
      ServerName local.network.com
      DocumentRoot /srv/www/htdocs/redmine/public
      <Directory /srv/www/htdocs/redmine/public>                                                      
         AllowOverride all
         Options -MultiViews
      </Directory>
</VirtualHost>

My .htaccess in redmine/public is:

AddHandler fcgid-script .fcgi
Options +FollowSymLinks +ExecCGI
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/public/(.*)$ /public/dispatch.fcgi [QSA,L]

and ruby is running on apache_mod_passenger.
That all works fine on my local Network at http://192.168.2.102

But I want the Address http://192.168.2.102/redmine/
with this VirtualServer:

<VirtualHost *:80>
      ServerName local.network.com
      DocumentRoot /srv/www/htdocs
      <Directory /srv/www/htdocs>                                                      
         AllowOverride all
         Options -MultiViews
      </Directory>
</VirtualHost>

And that does not work.
What must I do to get this working?

    (1-2/2)