[2]Configure httpd. Replace Server name to your own environment.
[[email protected] ~]# vi /etc/httpd/conf/httpd.conf
# line 91 : change to admin's email address
ServerAdmin [email protected]
# line 100 : change to your server's name
ServerName www.srv.world:80
# line 149 : change (remove [Indexes])
Options FollowSymLinks
# line 156 : change
AllowOverride All
# line 169 : add file name that it can access only with directory's name
DirectoryIndex index.html index.php index.cgi
# add follows to the end
# server's response header
ServerTokens Prod
[[email protected] ~]# systemctl enable --now httpd
[3]If Firewalld is running, allow HTTP service. HTTP uses 80/TCP.