CentOS7 Apache is broken after modifying /etc/httpd/conf/httpd.conf

General support questions
Post Reply
viral_patel7012
Posts: 2
Joined: 2018/07/12 18:13:41

CentOS7 Apache is broken after modifying /etc/httpd/conf/httpd.conf

Post by viral_patel7012 » 2018/07/12 18:23:00

Hi,

After modifying DocumentRoot from "/var/www/html" to "/var/www/mrtg" in /etc/httpd/conf/httpd.conf by mistake, my URL is changing from http://192.168.10.10/mrtg to http://192.168.10.10/mrtg/mrtg/mrtg/mrt ... mrtg/mrtg/ which says "This page isn’t working". Reverting change followed by httpd restart or reinstall is not working either. Please help.

viral_patel7012
Posts: 2
Joined: 2018/07/12 18:13:41

Re: CentOS7 Apache is broken after modifying /etc/httpd/conf/httpd.conf

Post by viral_patel7012 » 2018/07/12 19:53:38

Never mind. Found the problem. Reverted whatever changes I made in /etc/httpd/conf.d/mrtg.conf

Post Reply