Processing the cPanel Apache Configuration
Processing Apache’s configuration file is completed in 2 routines.
1. The first routine attempts to extract VirtualHost domain information and combine it will other cPanel data, in effect creating “user data.” This information is used in mapping domains to user accounts. This particular task is carried out by the userdata_update utility (/usr/local/cpanel/bin/userdata_update).
If you wish to make custom alterations you would need to run /usr/local/cpanel/bin/userdata_update –update.
2. The second routine attempts to pull out the remaining information within each VirtualHost entry. Some of this information is version-specific and requires the Apache directive-aware tool /usr/local/cpanel/bin/apache_conf_distiller. This is the same tool that processes Apache’s main directives and generates the main Apache template.
Reference: http://cpanel.net/
Leave a Reply
You must be logged in to post a comment.