Redmine4.1 installation Ubuntu 18.4
Added by sihem sihem over 4 years ago
Hello,
I have a problem while installing redmine 4.1 on Ubuntu 18.4. After everything goes right, when I acces to http//:@IP/redmine I got the index of / instead of homepage redmine.
Apache Version : 2.4
Ruby Version : 2.5
Rails Version : 5.2
Passenger Version : 5.2
Apache configuration
/etc/apache2/Sites-available/redmine.conf :
---------------------------------------------------------------------------------------------
<VirtualHost *:80>
DocumentRoot /var/www/html/redmine/
PassengerRoot /usr/share/rvm/gems/ruby-2.5.1/gems/passenger-5.2.3
PassengerDefaultRuby /usr/share/rvm/gems/ruby-2.5.1/wrappers/ruby
PassengerUser redmine
<Directory /var/www/html/redmine/>
Allow from all
Options -MultiViews
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error_redmine.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access_redmine.log combined
</VirtualHost>
-----------------------------------------------------------------------------------------------
/etc/apache2/sites-available/000-default.conf:
-----------------------------------------------------------------------------------------------
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
#Redirect 301 /index.html http://192.168.1.153<Directory /var/www/html/redmine>
Options FollowSymLinks
AllowOverride None
#Order deny,allow
- Allow from all
RailsBaseURI /redmine
PassengerAppRoot /home/redmine/redmine
PassengerResolveSymlinksinDocumentRoot on
RailsEnv Production
- Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
- error, crit, alert, emerg.
- It is also possible to configure the loglevel for particular
- modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Thanks,