Modifying Document root on RHEL Apache

My Apache can be accessed by the following URL :

http://myexample.com/

However, my full site address is something like this :

http://myexample.com/folder1/folder2/folder3/folder4/folder5/example.html

I tried changing the DocumentRoot in httpd.conf from var/www/html to var/www/htm/folder1/folder2/folder3/folder4/folder5/example.‌​html and ended up getting error after restarting apache [root@termsprweb1 conf]# apachectl restart Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. Do you know if I did something wrong in setting up the path?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.