What lines were edited? The httpd.conf file should not be directly edited, but include files would need to be used instead. Anytime /scripts/rebuildhttpdconf is run or EasyApache is processed, the httpd.conf file will be rebuilt using the following locations:
/var/cpanel/templates/apache2/
/var/cpanel/userdata
/usr/local/cpanel/
/var/cpanel/conf/apache/
The include files that should instead be used for adding entries to Apache are dependent upon the section you wish to have included. The non-VirtualHost includes are at /usr/local/apache/conf/includes location, while the VirtualHost include files would need to be created at /usr/local/apache/conf/userdata/ location.
For example, if you wanted to add an entry into an existing domain's VirtualHost, you'd create for Apache 2 / Apache 2.2 for http (rather than https) the following folders:
Code:
mkdir -p /usr/local/apache/conf/userdata/std/2/username/domain.com
Where
username is the cPanel username and
domain.com is the domain name. In that location, you would then place a file called newconf.conf (it simply needed to end in .conf) and put the contents into that file that should go into that domain's VirtualHost entry.
You can read documentation about the VirtualHost includes at the following:
Changes Contained within a VirtualHost Directive
Thanks!