I need to change my default Apache Document root. So I modified the httpd.conf file and change document root /var/www/html to /home/username/web .
After that i run apachectl -t command for check configuration is correct or not then showing error.
Syntax error on line 308 of /etc/httpd/conf/httpd.conf: DocumentRoot '/home/username/web' is not a directory, or is not readable
I can not restart the server because its live server. So kindly suggest me solution thanks.