&tag(CentOS8/Apache);
dnf install @httpd/common dnf install @httpd/devel
systemctl start httpd systemctl enable httpd
$ gem install passenger $ passenger-install-apache2-module
LoadModule passenger_module /home/sora/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/passenger-6.0.6/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /home/sora/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/passenger-6.0.6
PassengerDefaultRuby /home/sora/.rbenv/versions/2.6.6/bin/ruby
</IfModule>
<VirtualHost *:80>
ServerName www.yourhost.com
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /somewhere/public
<Directory /somewhere/public>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
</Directory>
</VirtualHost>
because search permissions are missing on a component of the path
[client 192.168.10.101:52774] AH01630: client denied by server configuration:
Require all granted