diff --git a/install/debian/dovecot-conf.d.tar.gz b/install/debian/dovecot-conf.d.tar.gz deleted file mode 100644 index a2f48487..00000000 Binary files a/install/debian/dovecot-conf.d.tar.gz and /dev/null differ diff --git a/install/debian/packages.tar.gz b/install/debian/packages.tar.gz deleted file mode 100644 index 4b778dad..00000000 Binary files a/install/debian/packages.tar.gz and /dev/null differ diff --git a/install/debian/templates/web/awstats/awstats.tpl b/install/debian/templates/web/awstats/awstats.tpl index 274c5ed3..9a92e0fd 100755 --- a/install/debian/templates/web/awstats/awstats.tpl +++ b/install/debian/templates/web/awstats/awstats.tpl @@ -1,4 +1,4 @@ -LogFile="/var/log/httpd/domains/%domain%.log" +LogFile="/var/log/%web_system%/domains/%domain%.log" LogType=W LogFormat=1 LogSeparator=" " diff --git a/install/debian/templates/web/webalizer/webalizer.tpl b/install/debian/templates/web/webalizer/webalizer.tpl index 2e4fee3f..068adcfb 100755 --- a/install/debian/templates/web/webalizer/webalizer.tpl +++ b/install/debian/templates/web/webalizer/webalizer.tpl @@ -1,5 +1,5 @@ HostName %domain_idn% -LogFile /var/log/httpd/domains/%domain%.log +LogFile /var/log/%web_system%/domains/%domain%.log OutputDir %home%/%user%/web/%domain%/stats HistoryName %home%/%user%/web/%domain%/stats/%domain%.hist Incremental yes diff --git a/install/rhel/templates/web/awstats/awstats.tpl b/install/rhel/templates/web/awstats/awstats.tpl index 274c5ed3..9a92e0fd 100755 --- a/install/rhel/templates/web/awstats/awstats.tpl +++ b/install/rhel/templates/web/awstats/awstats.tpl @@ -1,4 +1,4 @@ -LogFile="/var/log/httpd/domains/%domain%.log" +LogFile="/var/log/%web_system%/domains/%domain%.log" LogType=W LogFormat=1 LogSeparator=" " diff --git a/install/rhel/templates/web/httpd/basedir.stpl b/install/rhel/templates/web/httpd/basedir.stpl index 37368a64..d568276d 100755 --- a/install/rhel/templates/web/httpd/basedir.stpl +++ b/install/rhel/templates/web/httpd/basedir.stpl @@ -29,7 +29,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups apache AssignUserID %user% %group% diff --git a/install/rhel/templates/web/httpd/basedir.tpl b/install/rhel/templates/web/httpd/basedir.tpl index 984fab05..41b77334 100755 --- a/install/rhel/templates/web/httpd/basedir.tpl +++ b/install/rhel/templates/web/httpd/basedir.tpl @@ -23,7 +23,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups apache AssignUserID %user% %group% diff --git a/install/rhel/templates/web/httpd/default.stpl b/install/rhel/templates/web/httpd/default.stpl index 0c3f190f..ffb536c5 100755 --- a/install/rhel/templates/web/httpd/default.stpl +++ b/install/rhel/templates/web/httpd/default.stpl @@ -28,7 +28,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups apache AssignUserID %user% %group% diff --git a/install/rhel/templates/web/httpd/default.tpl b/install/rhel/templates/web/httpd/default.tpl index e96d34d8..29de125f 100755 --- a/install/rhel/templates/web/httpd/default.tpl +++ b/install/rhel/templates/web/httpd/default.tpl @@ -22,7 +22,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups apache AssignUserID %user% %group% diff --git a/install/rhel/templates/web/httpd/hosting.stpl b/install/rhel/templates/web/httpd/hosting.stpl index 033d3fb0..f21c3882 100755 --- a/install/rhel/templates/web/httpd/hosting.stpl +++ b/install/rhel/templates/web/httpd/hosting.stpl @@ -37,7 +37,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups apache AssignUserID %user% %group% diff --git a/install/rhel/templates/web/httpd/hosting.tpl b/install/rhel/templates/web/httpd/hosting.tpl index 6dc3aadc..76a9b0b0 100755 --- a/install/rhel/templates/web/httpd/hosting.tpl +++ b/install/rhel/templates/web/httpd/hosting.tpl @@ -31,7 +31,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups apache AssignUserID %user% %group% diff --git a/install/rhel/templates/web/httpd/phpcgi.stpl b/install/rhel/templates/web/httpd/phpcgi.stpl index 58c4baf9..b3e6488a 100755 --- a/install/rhel/templates/web/httpd/phpcgi.stpl +++ b/install/rhel/templates/web/httpd/phpcgi.stpl @@ -8,9 +8,9 @@ Alias /vstats/ %home%/%user%/web/%domain%/stats/ Alias /error/ %home%/%user%/web/%domain%/document_errors/ SuexecUserGroup %user% %group% - CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes - CustomLog /var/log/%web_system%/domains/%domain%.log combined - ErrorLog /var/log/%web_system%/domains/%domain%.error.log + CustomLog /var/log/httpd/domains/%domain%.bytes bytes + CustomLog /var/log/httpd/domains/%domain%.log combined + ErrorLog /var/log/httpd/domains/%domain%.error.log SSLRequireSSL AllowOverride All @@ -29,7 +29,7 @@ SSLCertificateKeyFile %ssl_key% %ssl_ca_str%SSLCertificateChainFile %ssl_ca% - Include %home%/%user%/conf/web/s%web_system%.%domain%.conf* + Include %home%/%user%/conf/web/shttpd.%domain%.conf* diff --git a/install/rhel/templates/web/httpd/phpcgi.tpl b/install/rhel/templates/web/httpd/phpcgi.tpl index 21be2cdd..952d2b49 100755 --- a/install/rhel/templates/web/httpd/phpcgi.tpl +++ b/install/rhel/templates/web/httpd/phpcgi.tpl @@ -8,9 +8,9 @@ Alias /vstats/ %home%/%user%/web/%domain%/stats/ Alias /error/ %home%/%user%/web/%domain%/document_errors/ SuexecUserGroup %user% %group% - CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes - CustomLog /var/log/%web_system%/domains/%domain%.log combined - ErrorLog /var/log/%web_system%/domains/%domain%.error.log + CustomLog /var/log/httpd/domains/%domain%.bytes bytes + CustomLog /var/log/httpd/domains/%domain%.log combined + ErrorLog /var/log/httpd/domains/%domain%.error.log AllowOverride All Options +Includes -Indexes +ExecCGI @@ -22,7 +22,7 @@ AllowOverride All - Include %home%/%user%/conf/web/%web_system%.%domain%.conf* + Include %home%/%user%/conf/web/httpd.%domain%.conf* diff --git a/install/rhel/templates/web/httpd/phpfcgid.stpl b/install/rhel/templates/web/httpd/phpfcgid.stpl index 20a58009..352d268b 100755 --- a/install/rhel/templates/web/httpd/phpfcgid.stpl +++ b/install/rhel/templates/web/httpd/phpfcgid.stpl @@ -8,9 +8,9 @@ Alias /vstats/ %home%/%user%/web/%domain%/stats/ Alias /error/ %home%/%user%/web/%domain%/document_errors/ SuexecUserGroup %user% %group% - CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes - CustomLog /var/log/%web_system%/domains/%domain%.log combined - ErrorLog /var/log/%web_system%/domains/%domain%.error.log + CustomLog /var/log/httpd/domains/%domain%.bytes bytes + CustomLog /var/log/httpd/domains/%domain%.log combined + ErrorLog /var/log/httpd/domains/%domain%.error.log SSLRequireSSL AllowOverride All @@ -30,7 +30,7 @@ SSLCertificateKeyFile %ssl_key% %ssl_ca_str%SSLCertificateChainFile %ssl_ca% - Include %home%/%user%/conf/web/s%web_system%.%domain%.conf* + Include %home%/%user%/conf/web/shttpd.%domain%.conf* diff --git a/install/rhel/templates/web/httpd/phpfcgid.tpl b/install/rhel/templates/web/httpd/phpfcgid.tpl index 72e7d8d4..9826c946 100755 --- a/install/rhel/templates/web/httpd/phpfcgid.tpl +++ b/install/rhel/templates/web/httpd/phpfcgid.tpl @@ -8,9 +8,9 @@ Alias /vstats/ %home%/%user%/web/%domain%/stats/ Alias /error/ %home%/%user%/web/%domain%/document_errors/ SuexecUserGroup %user% %group% - CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes - CustomLog /var/log/%web_system%/domains/%domain%.log combined - ErrorLog /var/log/%web_system%/domains/%domain%.error.log + CustomLog /var/log/httpd/domains/%domain%.bytes bytes + CustomLog /var/log/httpd/domains/%domain%.log combined + ErrorLog /var/log/httpd/domains/%domain%.error.log AllowOverride All Options +Includes -Indexes +ExecCGI @@ -22,7 +22,7 @@ AllowOverride All - Include %home%/%user%/conf/web/%web_system%.%domain%.conf* + Include %home%/%user%/conf/web/httpd.%domain%.conf* diff --git a/install/rhel/templates/web/webalizer/webalizer.tpl b/install/rhel/templates/web/webalizer/webalizer.tpl index 2e4fee3f..068adcfb 100755 --- a/install/rhel/templates/web/webalizer/webalizer.tpl +++ b/install/rhel/templates/web/webalizer/webalizer.tpl @@ -1,5 +1,5 @@ HostName %domain_idn% -LogFile /var/log/httpd/domains/%domain%.log +LogFile /var/log/%web_system%/domains/%domain%.log OutputDir %home%/%user%/web/%domain%/stats HistoryName %home%/%user%/web/%domain%/stats/%domain%.hist Incremental yes diff --git a/install/ubuntu/templates/web/apache2/basedir.stpl b/install/ubuntu/templates/web/apache2/basedir.stpl index 37368a64..96de57af 100755 --- a/install/ubuntu/templates/web/apache2/basedir.stpl +++ b/install/ubuntu/templates/web/apache2/basedir.stpl @@ -29,7 +29,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups www-data AssignUserID %user% %group% diff --git a/install/ubuntu/templates/web/apache2/basedir.tpl b/install/ubuntu/templates/web/apache2/basedir.tpl index 984fab05..07ec38c9 100755 --- a/install/ubuntu/templates/web/apache2/basedir.tpl +++ b/install/ubuntu/templates/web/apache2/basedir.tpl @@ -23,7 +23,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups www-data AssignUserID %user% %group% diff --git a/install/ubuntu/templates/web/apache2/default.stpl b/install/ubuntu/templates/web/apache2/default.stpl index 0c3f190f..da523c13 100755 --- a/install/ubuntu/templates/web/apache2/default.stpl +++ b/install/ubuntu/templates/web/apache2/default.stpl @@ -28,7 +28,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups www-data AssignUserID %user% %group% diff --git a/install/ubuntu/templates/web/apache2/default.tpl b/install/ubuntu/templates/web/apache2/default.tpl index e96d34d8..b95c1ee3 100755 --- a/install/ubuntu/templates/web/apache2/default.tpl +++ b/install/ubuntu/templates/web/apache2/default.tpl @@ -22,7 +22,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups www-data AssignUserID %user% %group% diff --git a/install/ubuntu/templates/web/apache2/hosting.stpl b/install/ubuntu/templates/web/apache2/hosting.stpl index 033d3fb0..49af8fce 100755 --- a/install/ubuntu/templates/web/apache2/hosting.stpl +++ b/install/ubuntu/templates/web/apache2/hosting.stpl @@ -37,7 +37,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups www-data AssignUserID %user% %group% diff --git a/install/ubuntu/templates/web/apache2/hosting.tpl b/install/ubuntu/templates/web/apache2/hosting.tpl index 6dc3aadc..8763b1a9 100755 --- a/install/ubuntu/templates/web/apache2/hosting.tpl +++ b/install/ubuntu/templates/web/apache2/hosting.tpl @@ -31,7 +31,7 @@ RMode config RUidGid %user% %group% - RGroups %rgroups% + RGroups www-data AssignUserID %user% %group% diff --git a/install/ubuntu/templates/web/awstats/awstats.tpl b/install/ubuntu/templates/web/awstats/awstats.tpl index 274c5ed3..9a92e0fd 100755 --- a/install/ubuntu/templates/web/awstats/awstats.tpl +++ b/install/ubuntu/templates/web/awstats/awstats.tpl @@ -1,4 +1,4 @@ -LogFile="/var/log/httpd/domains/%domain%.log" +LogFile="/var/log/%web_system%/domains/%domain%.log" LogType=W LogFormat=1 LogSeparator=" " diff --git a/install/ubuntu/templates/web/webalizer/webalizer.tpl b/install/ubuntu/templates/web/webalizer/webalizer.tpl index 2e4fee3f..068adcfb 100755 --- a/install/ubuntu/templates/web/webalizer/webalizer.tpl +++ b/install/ubuntu/templates/web/webalizer/webalizer.tpl @@ -1,5 +1,5 @@ HostName %domain_idn% -LogFile /var/log/httpd/domains/%domain%.log +LogFile /var/log/%web_system%/domains/%domain%.log OutputDir %home%/%user%/web/%domain%/stats HistoryName %home%/%user%/web/%domain%/stats/%domain%.hist Incremental yes