Redmine on ubuntu 20.04 with apache and mod-passenger not working

Added by Fabian Rose about 1 month ago

Hi,

I tried to install newest release of redmine on a ubuntu 20.04 LTS server with apache and mod-passenger.
I was folling this tutorial: https://www.howtoforge.com/how-to-install-and-configure-redmine-on-ubuntu-1804/#configure-apache-for-redmine
and did not have any problems.

But for some reason when i open redmine in my browser at: mydomain.com I see only the folder "public".

My virtual host looks like this:

<VirtualHost *:80>
     ServerAdmin email
     DocumentRoot /var/www/redmine
     ServerName domain.de
     ServerAlias www.domain.de

     <Directory /var/www/redmine>
         RailsBaseURI /redmine
         PassengerResolveSymlinksInDocumentRoot on
     </Directory>

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

Replies (1)

RE: Redmine on ubuntu 20.04 with apache and mod-passenger not working - Added by Fabian Rose about 1 month ago

problem solved: The DocumentRoot need to point to public:
/var/www/redmine/public

(1-1/1)