Redmine index showing files Debian, please help

Added by red slim about 1 month ago

Hello everyone,
SETUP : DEBIAN 10 + Apache2 + Redmine 4.0.4 + Passenger
Probleme:
ip/redmine
showing files

[PARENTDIR] Parent Directory -
[TXT] 404.html 2019-06-10 05:53 459
[TXT] 500.html 2019-06-10 05:53 648
[ ] dispatch.fcgi.example 2019-06-10 05:53 473
[IMG] favicon.ico 2019-06-10 05:53 7.7K
[DIR] help/ 2019-06-10 05:53 -
[ ] htaccess.fcgi.example 2019-06-10 05:53 1.4K
[DIR] images/ 2019-06-10 05:53 -
[DIR] javascripts/ 2019-06-10 05:53 -
[DIR] plugin_assets/ 2019-06-10 05:53 -
[DIR] stylesheets/ 2019-06-10 05:53 -
[DIR] themes/ 2019-06-10 05:53 -

INFO : i'm new to redmine and tried everything :'(
-OS : DEBIAN 10 on VBOX
-ruby version ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux-gnu]
-rails version Rails 5.2.3
-you will find in download the steps i did initially and the solution of tons of problemes(don't worry about the version as i tried mulitple ones but sticked with 4.0.4)

Also :
- bundle exec ruby /usr/bin/rails server b 0.0.0.0 webrick -e production -p 3001
works perfectly(had to change port cuz already in use)
but in apache2 initially had an error page showing there is a probleme with passener
then i did
sudo passenger-install-apache2-module

and made sure to follow the steps and correct the problemes as suggested
and passenger-config validate-install
everything is ok :) for apache2 and passenger

STILL SHOWING FILES
(there is no index.html in the files but some ppl said it does not matter as it's an mvc project)
please help i'm dying
----------------------my config
master.conf

<VirtualHost *:80>
ServerAdmin
Servername 0.0.0.0
DocumentRoot /var/www/html/
<Location /redmine>
RailsEnv production
RackBaseURI /redmine
Options -MultiViews
</Location>
</VirtualHost>

passenger.conf

<IfModule mod_passenger.c>
PassengerUserSwitching on
PassengerUser redmine
PassengerGroup redmine
PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby
</IfModule>

passenger.load

LoadModule passenger_module /var/lib/gems/2.5.0/gems/passenger-6.0.4/buildout/apache2/mod_passenger.so
&lt;IfModule mod_passenger.c&gt;
PassengerRoot /var/lib/gems/2.5.0/gems/passenger-6.0.4
PassengerDefaultRuby /usr/bin/ruby2.5
&lt;/IfModule&gt;

----
ask me anything and thank you.

redmine2.txt Magnifier - steps, problemes and solutions (2.48 KB)