Project

General

Profile

My redmine is "magically" showed on root / of the server, please help.

Added by Jorge S. over 11 years ago

Hi, I have a server called DEV01.intranet where I have installed Redmine.

I managed to configure a subdomain redmine.dev01.intranet, which is working now, but when I go to dev01.intranet alone it shows Redmine again (??!!!)

I would like to access Redmine from http://redmine.dev01.intranet and http://dev01.intranet/redmine.

I have these in sites-enabled:

default

   GNU nano 2.2.6                             File: /etc/apache2/sites-enabled/default1                                                                 

<VirtualHost *:80>
        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

GNU nano 2.2.6 File: /etc/apache2/sites-enabled/redmine
<VirtualHost redmine.dev01.intranet.fusiondev.com.ar:80>
 ServerName redmine.dev01.intranet.fusiondev.com.ar
 DocumentRoot /usr/local/share/redmine/public
 ServerAlias redmine.dev01.intranet.fusiondev.com.ar
 ServerAdmin jsivil@fusiondev.com.ar
 LogLevel warn
 ErrorLog /var/log/apache2/redmine_error
 CustomLog /var/log/apache2/redmine_access combined
 RailsEnv production
 RailsBaseURI /redmine
 PassengerDefaultUser www-data
 PassengerResolveSymlinksInDocumentRoot on
 <Directory /var/www/redmine>
   Options Indexes FollowSymLinks MultiViews
   AllowOverride None
   Order allow,deny
   allow from all
 </Directory>
</VirtualHost>

What I am doing wrong and why is Redmine shown at root / when no one says so?

Thanks!