The important part are the placeholders, everything else will be automatically filled by ispcp when you regenerate the configurations. Now, there are 2 points to take into account for this idea to work:
1. You must place your generated (empty, just with the placeholders) file in /etc/ispcp/apache/working/ispcp.conf and then trigger a regeneration as explained in the manual.
2. By "empty file, just with placeholders", I mean something like this:
Code:
# httpd Data BEGIN.
#
# wget-hack prevention
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple
RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1]
</IfModule>
#
# Log processing.
#
LogFormat "%B" traff
LogFormat "%v %b %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" ispcplog
CustomLog "| /var/www/ispcp/engine/ispcp-apache-logger" ispcplog
ErrorLog "| /var/www/ispcp/engine/ispcp-apache-logger -e"
#
# mod_cband configuration
#
<IfModule mod_cband.c>
CBandScoreFlushPeriod 10
CBandRandomPulse On
</IfModule>
#
# let the customer decide what charset he likes to use
#
AddDefaultCharset Off
#
# Header End
#
---- THIS IS A COMMENT, NOT TO APPEAR ON THE FILE:
---- (r0) Repeat this section for every IP of your server
# httpd [your.server.ip.addr] virtual host entry BEGIN.
NameVirtualHost your.server.ip.addr:80
# httpd [{DMN_GRP}] dmn group entry BEGIN.
# httpd [{DMN_GRP}] dmn group entry END.
---- THIS IS A COMMENT, NOT TO APPEAR ON THE FILE:
---- (r1) Repeat this section for every domain.com of your server
# httpd [domain.com] dmn group entry BEGIN.
# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.
---- THIS IS A COMMENT, NOT TO APPEAR ON THE FILE:
---- (r2) Repeat this section for every sub.domain.com of domain.com
# httpd [sub.domain.com] sub entry BEGIN.
# httpd [sub.domain.com] sub entry END.
---- THIS IS A COMMENT, NOT TO APPEAR ON THE FILE:
---- (r2) The block repeated for each subdomain ends here
# httpd [domain.com] dmn entry BEGIN.
# httpd [domain.com] dmn entry END.
# httpd [domain.com] dmn group entry END.
---- THIS IS A COMMENT, NOT TO APPEAR ON THE FILE:
---- (r1) The block repeated for each domain ends here
# httpd [your.server.ip.addr] virtual host entry END.
---- THIS IS A COMMENT, NOT TO APPEAR ON THE FILE:
---- (r0) The block repeated for each IP address ends here
# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.
# httpd Data END.