Once it is done, you shall disable Apache’s default welcome page.
[root@rmohan.com ~]# sed -i ‘s/^/#&/g’ /etc/httpd/conf.d/welcome.conf
Also, prevent the Apache web server from displaying files within the web directory.
[root@rmohan.com ~]# sed -i “s/Options Indexes FollowSymLinks/Options FollowSymLinks/” /etc/httpd/conf/httpd.conf
After that, start and enable the Apache web server.
[root@rmohan.com ~]# systemctl start httpd.service [root@rmohan.com ~]# […]
Recent Comments