I'm not using 1.0 yet.
Here is the snippet from my ispcp.conf file in /etc/apache2/sites-enabled
Code:
# httpd [domain.tld] dmn group entry BEGIN.
<IfModule mod_cband.c>
<CBandUser domain.tld>
CBandUserLimit 3000Mi
CBandUserScoreboard /var/www/scoreboards/domain.tld
CBandUserPeriod 4W
CBandUserPeriodSlice 1W
CBandUserExceededURL http://xxx.yyy.com/errors/bw_exceeded.html
</CBandUser>
</IfModule>
# httpd [aaa.domain.tld] sub entry BEGIN.
<VirtualHost *:80>
#
#User vu2205
#Group vu2205
#
<IfModule suexec_module>
SuexecUserGroup vu2205 vu2205
</IfModule>
ServerAdmin webmaster@domain.tld
DocumentRoot /var/www/virtual/domain.tld/aaa/htdocs
ServerName aaa.domain.tld
ServerAlias www.aaa.domain.tld aaa.domain.tld *.aaa.domain.tld
Alias /errors /var/www/virtual/domain.tld/errors/
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html
<IfModule mod_cband.c>
CBandUser domain.tld
</IfModule>
# httpd sub entry cgi support BEGIN.
ScriptAlias /cgi-bin/ /var/www/virtual/domain.tld/aaa/cgi-bin/
<Directory /var/www/virtual/domain.tld/aaa/cgi-bin>
AllowOverride AuthConfig
#Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# httpd sub entry cgi support END.
<Directory /var/www/virtual/domain.tld/aaa/htdocs>
# httpd sub entry PHP support BEGIN.
# httpd sub entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# httpd sub entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/domain.tld/:/var/www/virtual/domain.tld/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/domain.tld/phptmp/"
php_admin_value session.save_path "/var/www/virtual/domain.tld/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2205 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/domain.tld/
<Directory "/var/www/fcgi/domain.tld">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/domain.tld/aaa/htdocs>
FCGIWrapper /var/www/fcgi/domain.tld/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/domain.tld">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd sub entry PHP2 support END.
Include /etc/apache2/ispcp/aaa.domain.tld.conf
</VirtualHost>
# httpd [aaa.domain.tld] sub entry END.
# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.
# httpd [domain.tld] dmn entry BEGIN.
<VirtualHost *:80>
<IfModule suexec_module>
SuexecUserGroup vu2205 vu2205
</IfModule>
ServerAdmin webmaster@domain.tld
DocumentRoot /var/www/virtual/domain.tld/htdocs
ServerName domain.tld
ServerAlias www.domain.tld domain.tld *.domain.tld
Alias /errors /var/www/virtual/domain.tld/errors/
RedirectMatch permanent ^/ftp([\/]?) http://xxx.yyy.com/ftp/
RedirectMatch permanent ^/pma([\/]?) http://xxx.yyy.com/pma/
RedirectMatch permanent ^/webmail([\/]?) http://xxx.yyy.com/webmail/
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html
<IfModule mod_cband.c>
CBandUser domain.tld
</IfModule>
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/domain.tld
ProxyPassReverse /stats http://localhost/stats/domain.tld
<Location /stats>
AuthType Basic
AuthName "Statistics for domain domain.tld"
AuthUserFile /var/www/virtual/domain.tld/.htpasswd
AuthGroupFile /var/www/virtual/domain.tld/.htgroup
Require group statistics
</Location>
# httpd awstats support END.
# httpd dmn entry cgi support BEGIN.
ScriptAlias /cgi-bin/ /var/www/virtual/domain.tld/cgi-bin/
<Directory /var/www/virtual/domain.tld/cgi-bin>
AllowOverride AuthConfig
#Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# httpd dmn entry cgi support END.
<Directory /var/www/virtual/domain.tld/htdocs>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# httpd dmn entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/domain.tld/:/var/www/virtual/domain.tld/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/domain.tld/phptmp/"
php_admin_value session.save_path "/var/www/virtual/domain.tld/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2205 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/domain.tld/
<Directory "/var/www/fcgi/domain.tld">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/domain.tld/htdocs>
FCGIWrapper /var/www/fcgi/domain.tld/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/domain.tld">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.
Include /etc/apache2/ispcp/domain.tld.conf
</VirtualHost>
# httpd [domain.tld] dmn entry END.
# httpd [domain.tld] dmn group entry END.