From b30984c00316866f582bfa8980b82b33b03cc09c Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Sat, 17 Nov 2012 13:06:03 +0200 Subject: [PATCH] removed data dir --- data/ips/.gitignore | 0 data/packages/cornsilk.pkg | 14 -- data/packages/default.pkg | 16 --- data/packages/gainsboro.pkg | 16 --- data/packages/palegreen.pkg | 16 --- data/packages/slategrey.pkg | 16 --- data/queue/backup.pipe | 0 data/queue/disk.pipe | 0 data/queue/restart.pipe | 0 data/queue/stats.pipe | 0 data/queue/traffic.pipe | 0 data/templates/dns/default.tpl | 9 -- data/templates/dns/gmail.tpl | 14 -- data/templates/web/apache_default.stpl | 45 ------ data/templates/web/apache_default.tpl | 39 ----- data/templates/web/apache_hosting.stpl | 49 ------- data/templates/web/apache_hosting.tpl | 43 ------ data/templates/web/apache_phpcgi.sh | 16 --- data/templates/web/apache_phpcgi.stpl | 35 ----- data/templates/web/apache_phpcgi.tpl | 27 ---- data/templates/web/apache_phpfcgid.sh | 22 --- data/templates/web/apache_phpfcgid.stpl | 35 ----- data/templates/web/apache_phpfcgid.tpl | 27 ---- data/templates/web/awstats.tpl | 133 ------------------ data/templates/web/awstats_index.tpl | 10 -- data/templates/web/awstats_nav.tpl | 23 --- data/templates/web/email_reset_password.tpl | 25 ---- data/templates/web/ngingx.ip.tpl | 9 -- data/templates/web/nginx_default.stpl | 36 ----- data/templates/web/nginx_default.tpl | 33 ----- .../web/skel/document_errors/403.html | 29 ---- .../web/skel/document_errors/404.html | 28 ---- .../web/skel/document_errors/50x.html | 29 ---- .../templates/web/skel/public_html/index.html | 26 ---- .../templates/web/skel/public_html/robots.txt | 3 - .../web/skel/public_shtml/index.html | 26 ---- .../web/skel/public_shtml/robots.txt | 3 - data/templates/web/suspend/.htaccess | 2 - data/templates/web/suspend/index.html | 27 ---- data/templates/web/webalizer.tpl | 110 --------------- data/users/.gitignore | 0 41 files changed, 991 deletions(-) delete mode 100644 data/ips/.gitignore delete mode 100644 data/packages/cornsilk.pkg delete mode 100644 data/packages/default.pkg delete mode 100644 data/packages/gainsboro.pkg delete mode 100644 data/packages/palegreen.pkg delete mode 100644 data/packages/slategrey.pkg delete mode 100644 data/queue/backup.pipe delete mode 100644 data/queue/disk.pipe delete mode 100644 data/queue/restart.pipe delete mode 100644 data/queue/stats.pipe delete mode 100644 data/queue/traffic.pipe delete mode 100755 data/templates/dns/default.tpl delete mode 100755 data/templates/dns/gmail.tpl delete mode 100755 data/templates/web/apache_default.stpl delete mode 100755 data/templates/web/apache_default.tpl delete mode 100755 data/templates/web/apache_hosting.stpl delete mode 100755 data/templates/web/apache_hosting.tpl delete mode 100755 data/templates/web/apache_phpcgi.sh delete mode 100755 data/templates/web/apache_phpcgi.stpl delete mode 100755 data/templates/web/apache_phpcgi.tpl delete mode 100755 data/templates/web/apache_phpfcgid.sh delete mode 100755 data/templates/web/apache_phpfcgid.stpl delete mode 100755 data/templates/web/apache_phpfcgid.tpl delete mode 100755 data/templates/web/awstats.tpl delete mode 100755 data/templates/web/awstats_index.tpl delete mode 100755 data/templates/web/awstats_nav.tpl delete mode 100755 data/templates/web/email_reset_password.tpl delete mode 100755 data/templates/web/ngingx.ip.tpl delete mode 100755 data/templates/web/nginx_default.stpl delete mode 100755 data/templates/web/nginx_default.tpl delete mode 100755 data/templates/web/skel/document_errors/403.html delete mode 100755 data/templates/web/skel/document_errors/404.html delete mode 100755 data/templates/web/skel/document_errors/50x.html delete mode 100755 data/templates/web/skel/public_html/index.html delete mode 100755 data/templates/web/skel/public_html/robots.txt delete mode 100755 data/templates/web/skel/public_shtml/index.html delete mode 100755 data/templates/web/skel/public_shtml/robots.txt delete mode 100755 data/templates/web/suspend/.htaccess delete mode 100755 data/templates/web/suspend/index.html delete mode 100755 data/templates/web/webalizer.tpl delete mode 100644 data/users/.gitignore diff --git a/data/ips/.gitignore b/data/ips/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/packages/cornsilk.pkg b/data/packages/cornsilk.pkg deleted file mode 100644 index d89deafe1..000000000 --- a/data/packages/cornsilk.pkg +++ /dev/null @@ -1,14 +0,0 @@ -WEB_DOMAINS='100' -WEB_ALIASES='100' -WEB_TPL='default,phpfcgid,unlim' -DNS_DOMAINS='100' -DNS_RECORDS='100' -MAIL_DOMAINS='100' -MAIL_ACCOUNTS='100' -DATABASES='100' -CRON_JOBS='100' -DISK_QUOTA='10000' -BANDWIDTH='100000' -NS='ns1.localhost,ns2.localhost' -SHELL='nologin' -BACKUPS='3' diff --git a/data/packages/default.pkg b/data/packages/default.pkg deleted file mode 100644 index 815371c16..000000000 --- a/data/packages/default.pkg +++ /dev/null @@ -1,16 +0,0 @@ -TEMPLATE='default' -WEB_DOMAINS='100' -WEB_ALIASES='100' -DNS_DOMAINS='100' -DNS_RECORDS='100' -MAIL_DOMAINS='100' -MAIL_ACCOUNTS='100' -DATABASES='100' -CRON_JOBS='100' -DISK_QUOTA='10000' -BANDWIDTH='100000' -NS='ns1.localhost,ns2.localhost' -SHELL='nologin' -BACKUPS='3' -TIME='11:31:29' -DATE='2012-07-26' diff --git a/data/packages/gainsboro.pkg b/data/packages/gainsboro.pkg deleted file mode 100644 index e7d4402ed..000000000 --- a/data/packages/gainsboro.pkg +++ /dev/null @@ -1,16 +0,0 @@ -TEMPLATE='default' -WEB_DOMAINS='10' -WEB_ALIASES='10' -DNS_DOMAINS='10' -DNS_RECORDS='10' -MAIL_DOMAINS='10' -MAIL_ACCOUNTS='10' -DATABASES='10' -CRON_JOBS='10' -DISK_QUOTA='10000' -BANDWIDTH='10000' -NS='ns1.localhost,ns2.localhost' -SHELL='nologin' -BACKUPS='1' -TIME='11:31:30' -DATE='2012-07-26' diff --git a/data/packages/palegreen.pkg b/data/packages/palegreen.pkg deleted file mode 100644 index 8e71593a8..000000000 --- a/data/packages/palegreen.pkg +++ /dev/null @@ -1,16 +0,0 @@ -TEMPLATE='unlim' -WEB_DOMAINS='50' -WEB_ALIASES='50' -DNS_DOMAINS='50' -DNS_RECORDS='50' -MAIL_DOMAINS='50' -MAIL_ACCOUNTS='50' -DATABASES='50' -CRON_JOBS='50' -DISK_QUOTA='50000' -BANDWIDTH='50000' -NS='ns1.localhost,ns2.localhost' -SHELL='nologin' -BACKUPS='5' -TIME='11:31:31' -DATE='2012-07-26' diff --git a/data/packages/slategrey.pkg b/data/packages/slategrey.pkg deleted file mode 100644 index e2f2664d1..000000000 --- a/data/packages/slategrey.pkg +++ /dev/null @@ -1,16 +0,0 @@ -TEMPLATE='default' -WEB_DOMAINS='100' -WEB_ALIASES='100' -DNS_DOMAINS='100' -DNS_RECORDS='100' -MAIL_DOMAINS='100' -MAIL_ACCOUNTS='100' -DATABASES='100' -CRON_JOBS='100' -DISK_QUOTA='10000' -BANDWIDTH='100000' -NS='ns1.localhost,ns2.localhost' -SHELL='nologin' -BACKUPS='3' -TIME='11:31:32' -DATE='2012-07-26' diff --git a/data/queue/backup.pipe b/data/queue/backup.pipe deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/queue/disk.pipe b/data/queue/disk.pipe deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/queue/restart.pipe b/data/queue/restart.pipe deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/queue/stats.pipe b/data/queue/stats.pipe deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/queue/traffic.pipe b/data/queue/traffic.pipe deleted file mode 100644 index e69de29bb..000000000 diff --git a/data/templates/dns/default.tpl b/data/templates/dns/default.tpl deleted file mode 100755 index 6d19ccca9..000000000 --- a/data/templates/dns/default.tpl +++ /dev/null @@ -1,9 +0,0 @@ -ID='1' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns1%.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='2' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns2%.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='3' RECORD='@' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='4' RECORD='mail' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='5' RECORD='www' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='6' RECORD='pop' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='7' RECORD='ftp' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='8' RECORD='@' TYPE='MX' PRIORITY='10' VALUE='mail' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='9' RECORD='@' TYPE='TXT' PRIORITY='' VALUE='"v=spf1 a mx ip4:%ip% ?all"' SUSPENDED='no' TIME='%time%' DATE='%date%' diff --git a/data/templates/dns/gmail.tpl b/data/templates/dns/gmail.tpl deleted file mode 100755 index 950cfa456..000000000 --- a/data/templates/dns/gmail.tpl +++ /dev/null @@ -1,14 +0,0 @@ -ID='1' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns1%.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='2' RECORD='@' TYPE='NS' PRIORITY='' VALUE='%ns2%.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='3' RECORD='@' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='4' RECORD='ftp' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='5' RECORD='localhost' TYPE='A' PRIORITY='' VALUE='127.0.0.1' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='6' RECORD='mail' TYPE='CNAME' PRIORITY='' VALUE='ghs.google.com.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='7' RECORD='pop' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='8' RECORD='www' TYPE='A' PRIORITY='' VALUE='%ip%' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='9' RECORD='@' TYPE='MX' PRIORITY='1' VALUE='ASPMX.L.GOOGLE.COM.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='10' RECORD='@' TYPE='MX' PRIORITY='5' VALUE='ALT1.ASPMX.L.GOOGLE.COM.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='11' RECORD='@' TYPE='MX' PRIORITY='5' VALUE='ALT2.ASPMX.L.GOOGLE.COM.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='12' RECORD='@' TYPE='MX' PRIORITY='10' VALUE='ASPMX2.GOOGLEMAIL.COM.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='13' RECORD='@' TYPE='MX' PRIORITY='10' VALUE='ASPMX3.GOOGLEMAIL.COM.' SUSPENDED='no' TIME='%time%' DATE='%date%' -ID='14' RECORD='@' TYPE='TXT' PRIORITY='' VALUE='"v=spf1 a mx ip4:%ip% ?all"' SUSPENDED='no' TIME='%time%' DATE='%date%' diff --git a/data/templates/web/apache_default.stpl b/data/templates/web/apache_default.stpl deleted file mode 100755 index a461b4c78..000000000 --- a/data/templates/web/apache_default.stpl +++ /dev/null @@ -1,45 +0,0 @@ - - - ServerName %domain_idn% - %alias_string% - ServerAdmin %email% - DocumentRoot %sdocroot% - %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ - Alias /vstats/ %home%/%user%/web/%domain%/stats/ - Alias /error/ %home%/%user%/web/%domain%/document_errors/ - SuexecUserGroup %user% %group% - CustomLog /var/log/httpd/domains/%domain%.bytes bytes - CustomLog /var/log/httpd/domains/%domain%.log combined - %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log - - AllowOverride All - SSLRequireSSL - Options +Includes -Indexes %cgi_option% - php_admin_value upload_tmp_dir %home%/%user%/tmp - php_admin_flag safe_mode off - php_admin_value session.save_path %home%/%user%/tmp - php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%' - - - AllowOverride All - - php_admin_value open_basedir none - SSLEngine on - SSLVerifyClient none - SSLCertificateFile %ssl_crt% - SSLCertificateKeyFile %ssl_key% - %ssl_ca_str%SSLCertificateChainFile %ssl_ca% - - - RMode config - RUidGid %user% %group% - RGroups apache - - - AssignUserID %user% %group% - - - Include %home%/%user%/conf/shttpd.%domain%.conf* - - - diff --git a/data/templates/web/apache_default.tpl b/data/templates/web/apache_default.tpl deleted file mode 100755 index db2fa53b5..000000000 --- a/data/templates/web/apache_default.tpl +++ /dev/null @@ -1,39 +0,0 @@ - - - ServerName %domain_idn% - %alias_string% - ServerAdmin %email% - DocumentRoot %docroot% - %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ - Alias /vstats/ %home%/%user%/web/%domain%/stats/ - Alias /error/ %home%/%user%/web/%domain%/document_errors/ - SuexecUserGroup %user% %group% - CustomLog /var/log/httpd/domains/%domain%.bytes bytes - CustomLog /var/log/httpd/domains/%domain%.log combined - %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log - - AllowOverride All - Options +Includes -Indexes %cgi_option% - php_admin_value upload_tmp_dir %home%/%user%/tmp - php_admin_flag safe_mode off - php_admin_value session.save_path %home%/%user%/tmp - php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%' - - - AllowOverride All - - php_admin_value open_basedir none - - - RMode config - RUidGid %user% %group% - RGroups apache - - - AssignUserID %user% %group% - - - Include %home%/%user%/conf/httpd.%domain%.conf* - - - diff --git a/data/templates/web/apache_hosting.stpl b/data/templates/web/apache_hosting.stpl deleted file mode 100755 index 82b7cfdd7..000000000 --- a/data/templates/web/apache_hosting.stpl +++ /dev/null @@ -1,49 +0,0 @@ - - - ServerName %domain_idn% - %alias_string% - ServerAdmin %email% - DocumentRoot %sdocroot% - %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ - Alias /vstats/ %home%/%user%/web/%domain%/stats/ - Alias /error/ %home%/%user%/web/%domain%/document_errors/ - SuexecUserGroup %user% %group% - CustomLog /var/log/httpd/domains/%domain%.bytes bytes - CustomLog /var/log/httpd/domains/%domain%.log combined - %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log - - AllowOverride AuthConfig FileInfo Indexes Limit - SSLRequireSSL - Options +Includes -Indexes %cgi_option% - php_admin_value upload_tmp_dir %home%/%user%/tmp - php_admin_value upload_max_filesize 10M - php_admin_value max_execution_time 20 - php_admin_value post_max_size 8M - php_admin_value memory_limit 32M - php_admin_flag mysql.allow_persistent off - php_admin_flag safe_mode off - php_admin_value session.save_path %home%/%user%/tmp - php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%' - - - AllowOverride All - - php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp - SSLEngine on - SSLVerifyClient none - SSLCertificateFile %ssl_crt% - SSLCertificateKeyFile %ssl_key% - %ssl_ca_str%SSLCertificateChainFile %ssl_ca% - - RMode config - RUidGid %user% %group% - RGroups apache - - - AssignUserID %user% %group% - - - Include %home%/%user%/conf/shttpd.%domain%.conf* - - - diff --git a/data/templates/web/apache_hosting.tpl b/data/templates/web/apache_hosting.tpl deleted file mode 100755 index 4f972a4e7..000000000 --- a/data/templates/web/apache_hosting.tpl +++ /dev/null @@ -1,43 +0,0 @@ - - - ServerName %domain_idn% - %alias_string% - ServerAdmin %email% - DocumentRoot %docroot% - %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ - Alias /vstats/ %home%/%user%/web/%domain%/stats/ - Alias /error/ %home%/%user%/web/%domain%/document_errors/ - SuexecUserGroup %user% %group% - CustomLog /var/log/httpd/domains/%domain%.bytes bytes - CustomLog /var/log/httpd/domains/%domain%.log combined - %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log - - AllowOverride AuthConfig FileInfo Indexes Limit - Options +Includes -Indexes %cgi_option% - php_admin_value upload_tmp_dir %home%/%user%/tmp - php_admin_value upload_max_filesize 10M - php_admin_value max_execution_time 20 - php_admin_value post_max_size 8M - php_admin_value memory_limit 32M - php_admin_flag mysql.allow_persistent off - php_admin_flag safe_mode off - php_admin_value session.save_path %home%/%user%/tmp - php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%' - - - AllowOverride All - - php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp - - RMode config - RUidGid %user% %group% - RGroups apache - - - AssignUserID %user% %group% - - - Include %home%/%user%/conf/httpd.%domain%.conf* - - - diff --git a/data/templates/web/apache_phpcgi.sh b/data/templates/web/apache_phpcgi.sh deleted file mode 100755 index 6565e103d..000000000 --- a/data/templates/web/apache_phpcgi.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Adding php wrapper -user="$1" -domain="$2" -ip="$3" -home_dir="$4" -docroot="$5" - -wrapper_script='#!/usr/bin/php-cgi -cphp5-cgi.ini' -wrapper_file="$home_dir/$user/web/$domain/cgi-bin/php" - -echo "$wrapper_script" > $wrapper_file -chown $user:$user $wrapper_file -chmod -f 751 $wrapper_file - -exit 0 diff --git a/data/templates/web/apache_phpcgi.stpl b/data/templates/web/apache_phpcgi.stpl deleted file mode 100755 index 8201bc3e5..000000000 --- a/data/templates/web/apache_phpcgi.stpl +++ /dev/null @@ -1,35 +0,0 @@ - - - ServerName %domain_idn% - %alias_string% - ServerAdmin %email% - DocumentRoot %sdocroot% - %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ - Alias /vstats/ %home%/%user%/web/%domain%/stats/ - Alias /error/ %home%/%user%/web/%domain%/document_errors/ - SuexecUserGroup %user% %group% - CustomLog /var/log/httpd/domains/%domain%.bytes bytes - CustomLog /var/log/httpd/domains/%domain%.log combined - %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log - - AllowOverride AuthConfig FileInfo Indexes Limit - SSLRequireSSL - Options +Includes -Indexes %cgi_option% - php_admin_flag engine off - Action phpcgi-script /cgi-bin/php - AddHandler phpcgi-script .php - - - AllowOverride All - - php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp - SSLEngine on - SSLVerifyClient none - SSLCertificateFile %ssl_crt% - SSLCertificateKeyFile %ssl_key% - %ssl_ca_str%SSLCertificateChainFile %ssl_ca% - - Include %home%/%user%/conf/shttpd.%domain%.conf* - - - diff --git a/data/templates/web/apache_phpcgi.tpl b/data/templates/web/apache_phpcgi.tpl deleted file mode 100755 index b9b34c8b1..000000000 --- a/data/templates/web/apache_phpcgi.tpl +++ /dev/null @@ -1,27 +0,0 @@ - - - ServerName %domain_idn% - %alias_string% - ServerAdmin %email% - DocumentRoot %docroot% - %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ - Alias /vstats/ %home%/%user%/web/%domain%/stats/ - Alias /error/ %home%/%user%/web/%domain%/document_errors/ - SuexecUserGroup %user% %group% - CustomLog /var/log/httpd/domains/%domain%.bytes bytes - CustomLog /var/log/httpd/domains/%domain%.log combined - %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log - - AllowOverride AuthConfig FileInfo Indexes Limit - Options +Includes -Indexes %cgi_option% - php_admin_flag engine off - Action phpcgi-script /cgi-bin/php - AddHandler phpcgi-script .php - - - AllowOverride All - - Include %home%/%user%/conf/httpd.%domain%.conf* - - - diff --git a/data/templates/web/apache_phpfcgid.sh b/data/templates/web/apache_phpfcgid.sh deleted file mode 100755 index d044d3f16..000000000 --- a/data/templates/web/apache_phpfcgid.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -# Adding php wrapper -user="$1" -domain="$2" -ip="$3" -home_dir="$4" -docroot="$5" - -wrapper_script="#!/bin/sh -PHPRC=/etc/ -export PHPRC -export PHP_FCGI_MAX_REQUESTS=1000 -export PHP_FCGI_CHILDREN=8 -exec /usr/bin/php-cgi -" -wrapper_file="$home_dir/$user/web/$domain/cgi-bin/fcgi-starter" - -echo "$wrapper_script" > $wrapper_file -chown $user:$user $wrapper_file -chmod -f 751 $wrapper_file - -exit 0 diff --git a/data/templates/web/apache_phpfcgid.stpl b/data/templates/web/apache_phpfcgid.stpl deleted file mode 100755 index 4cdf25d45..000000000 --- a/data/templates/web/apache_phpfcgid.stpl +++ /dev/null @@ -1,35 +0,0 @@ - - - ServerName %domain_idn% - %alias_string% - ServerAdmin %email% - DocumentRoot %sdocroot% - %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ - Alias /vstats/ %home%/%user%/web/%domain%/stats/ - Alias /error/ %home%/%user%/web/%domain%/document_errors/ - SuexecUserGroup %user% %group% - CustomLog /var/log/httpd/domains/%domain%.bytes bytes - CustomLog /var/log/httpd/domains/%domain%.log combined - %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log - - AllowOverride AuthConfig FileInfo Indexes Limit - SSLRequireSSL - Options +Includes -Indexes %cgi_option% - php_admin_flag engine off - AddHandler fcgid-script .php - FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php - - - AllowOverride All - - php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp - SSLEngine on - SSLVerifyClient none - SSLCertificateFile %ssl_crt% - SSLCertificateKeyFile %ssl_key% - %ssl_ca_str%SSLCertificateChainFile %ssl_ca% - - Include %home%/%user%/conf/shttpd.%domain%.conf* - - - diff --git a/data/templates/web/apache_phpfcgid.tpl b/data/templates/web/apache_phpfcgid.tpl deleted file mode 100755 index 0bae204dc..000000000 --- a/data/templates/web/apache_phpfcgid.tpl +++ /dev/null @@ -1,27 +0,0 @@ - - - ServerName %domain_idn% - %alias_string% - ServerAdmin %email% - DocumentRoot %docroot% - %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ - Alias /vstats/ %home%/%user%/web/%domain%/stats/ - Alias /error/ %home%/%user%/web/%domain%/document_errors/ - SuexecUserGroup %user% %group% - CustomLog /var/log/httpd/domains/%domain%.bytes bytes - CustomLog /var/log/httpd/domains/%domain%.log combined - %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log - - AllowOverride AuthConfig FileInfo Indexes Limit - Options +Includes -Indexes %cgi_option% - php_admin_flag engine off - AddHandler fcgid-script .php - FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php - - - AllowOverride All - - Include %home%/%user%/conf/httpd.%domain%.conf* - - - diff --git a/data/templates/web/awstats.tpl b/data/templates/web/awstats.tpl deleted file mode 100755 index 8a48c6965..000000000 --- a/data/templates/web/awstats.tpl +++ /dev/null @@ -1,133 +0,0 @@ -LogFile="/var/log/httpd/domains/%domain%.log" -LogType=W -LogFormat=1 -LogSeparator=" " -SiteDomain="%domain_idn%" -HostAliases="%alias_idn%" -DirData="%home%/%user%/web/%domain%/stats" -DirCgi="/stats" -DirIcons="/stats/icon" -AllowToUpdateStatsFromBrowser=0 -AllowFullYearView=2 -EnableLockForUpdate=1 -DNSStaticCacheFile="dnscache.txt" -DNSLastUpdateCacheFile="dnscachelastupdate.txt" -SkipDNSLookupFor="" -AllowAccessFromWebToAuthenticatedUsersOnly=0 -AllowAccessFromWebToFollowingAuthenticatedUsers="" -AllowAccessFromWebToFollowingIPAddresses="" -CreateDirDataIfNotExists=0 -BuildHistoryFormat=text -BuildReportFormat=html -SaveDatabaseFilesWithPermissionsForEveryone=0 -PurgeLogFile=0 -ArchiveLogRecords=0 -KeepBackupOfHistoricFiles=1 -DefaultFile="index.php index.html" -SkipHosts="127.0.0.1 -SkipUserAgents="" -SkipFiles="" -SkipReferrersBlackList="" -OnlyHosts="" -OnlyUserAgents="" -OnlyUsers="" -OnlyFiles="" -NotPageList="css js class gif jpg jpeg png bmp ico rss xml swf" -ValidHTTPCodes="200 304" -ValidSMTPCodes="1 250" -AuthenticatedUsersNotCaseSensitive=0 -URLNotCaseSensitive=0 -URLWithAnchor=0 -URLQuerySeparators="?;" -URLWithQuery=0 -URLWithQueryWithOnlyFollowingParameters="" -URLWithQueryWithoutFollowingParameters="" -URLReferrerWithQuery=0 -WarningMessages=1 -ErrorMessages="" -DebugMessages=0 -NbOfLinesForCorruptedLog=50 -WrapperScript="" -DecodeUA=0 -MiscTrackerUrl="/js/awstats_misc_tracker.js" -UseFramesWhenCGI=1 -DetailedReportsOnNewWindows=1 -Expires=3600 -MaxRowsInHTMLOutput=1000 -Lang="auto" -DirLang="./lang" -ShowMenu=1 -ShowSummary=UVPHB -ShowMonthStats=UVPHB -ShowDaysOfMonthStats=VPHB -ShowDaysOfWeekStats=PHB -ShowHoursStats=PHB -ShowDomainsStats=PHB -ShowHostsStats=PHBL -ShowAuthenticatedUsers=0 -ShowRobotsStats=HBL -ShowWormsStats=0 -ShowEMailSenders=0 -ShowEMailReceivers=0 -ShowSessionsStats=1 -ShowPagesStats=PBEX -ShowFileTypesStats=HB -ShowFileSizesStats=0 -ShowDownloadsStats=HB -ShowOSStats=1 -ShowBrowsersStats=1 -ShowScreenSizeStats=0 -ShowOriginStats=PH -ShowKeyphrasesStats=1 -ShowKeywordsStats=1 -ShowMiscStats=a -ShowHTTPErrorsStats=1 -ShowSMTPErrorsStats=0 -ShowClusterStats=0 -AddDataArrayMonthStats=1 -AddDataArrayShowDaysOfMonthStats=1 -AddDataArrayShowDaysOfWeekStats=1 -AddDataArrayShowHoursStats=1 -IncludeInternalLinksInOriginSection=0 -MaxNbOfDomain = 10 -MinHitDomain = 1 -MaxNbOfHostsShown = 10 -MinHitHost = 1 -MaxNbOfLoginShown = 10 -MinHitLogin = 1 -MaxNbOfRobotShown = 10 -MinHitRobot = 1 -MaxNbOfDownloadsShown = 10 -MinHitDownloads = 1 -MaxNbOfPageShown = 10 -MinHitFile = 1 -MaxNbOfOsShown = 10 -MinHitOs = 1 -MaxNbOfBrowsersShown = 10 -MinHitBrowser = 1 -MaxNbOfScreenSizesShown = 5 -MinHitScreenSize = 1 -MaxNbOfWindowSizesShown = 5 -MinHitWindowSize = 1 -MaxNbOfRefererShown = 10 -MinHitRefer = 1 -MaxNbOfKeyphrasesShown = 10 -MinHitKeyphrase = 1 -MaxNbOfKeywordsShown = 10 -MinHitKeyword = 1 -MaxNbOfEMailsShown = 20 -MinHitEMail = 1 -FirstDayOfWeek=0 -ShowFlagLinks="" -ShowLinksOnUrl=1 -UseHTTPSLinkForUrl="" -MaxLengthOfShownURL=64 -HTMLHeadSection="" -HTMLEndSection="" -MetaRobot=0 -Logo="awstats_logo6.png" -LogoLink="http://awstats.sourceforge.net" -BarWidth = 260 -BarHeight = 90 -StyleSheet="" -ExtraTrackedRowsLimit=500 diff --git a/data/templates/web/awstats_index.tpl b/data/templates/web/awstats_index.tpl deleted file mode 100755 index 929232d37..000000000 --- a/data/templates/web/awstats_index.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - - Awstats log analyzer - - - - - - diff --git a/data/templates/web/awstats_nav.tpl b/data/templates/web/awstats_nav.tpl deleted file mode 100755 index 385f9418f..000000000 --- a/data/templates/web/awstats_nav.tpl +++ /dev/null @@ -1,23 +0,0 @@ - - - Awstats navigation - - - - - - - - -
vesta
- -
-
- - diff --git a/data/templates/web/email_reset_password.tpl b/data/templates/web/email_reset_password.tpl deleted file mode 100755 index 0e1161fa6..000000000 --- a/data/templates/web/email_reset_password.tpl +++ /dev/null @@ -1,25 +0,0 @@ -
- - Twitter - -
-

- Vesta received a request to reset the password for your account %FIRSTNAME% %LASTNAME% (%LOGIN%)? -

-

- If you want to reset your password, click on the link below (or copy and paste the URL into your browser):
- -

-

- If you don't want to reset your password, please ignore this message. - Your password will not be reset. - If you have any concerns, please contact us at support@vestacp.com. -

-

- VestaCP -

-

- Please do not reply to this message; it was sent from an unmonitored email address. -

-
-
diff --git a/data/templates/web/ngingx.ip.tpl b/data/templates/web/ngingx.ip.tpl deleted file mode 100755 index ae1956173..000000000 --- a/data/templates/web/ngingx.ip.tpl +++ /dev/null @@ -1,9 +0,0 @@ -server { - listen %ip%:%proxy_port% default; - server_name _; - #access_log /var/log/nginx/%ip%.log main; - location / { - proxy_pass http://%ip%:%web_port%; - } -} - diff --git a/data/templates/web/nginx_default.stpl b/data/templates/web/nginx_default.stpl deleted file mode 100755 index 2af431341..000000000 --- a/data/templates/web/nginx_default.stpl +++ /dev/null @@ -1,36 +0,0 @@ -server { - listen %ip%:%proxy_ssl_port%; - server_name %domain_idn% %alias_idn%; - ssl on; - ssl_certificate %ssl_pem%; - ssl_certificate_key %ssl_key%; - %elog%error_log /var/log/httpd/domains/%domain%.error.log error; - - location / { - proxy_pass https://%ip%:%web_ssl_port%; - location ~* ^.+\.(%nginx_extentions%)$ { - root %sdocroot%; - access_log /var/log/httpd/domains/%domain%.log combined; - access_log /var/log/httpd/domains/%domain%.bytes bytes; - expires max; - try_files $uri @fallback; - } - } - - location /error/ { - alias %home%/%user%/web/%domain%/document_errors/; - } - - location @fallback { - proxy_pass https://%ip%:%web_ssl_port%; - } - - location ~ /\.ht {return 404;} - location ~ /\.svn/ {return 404;} - location ~ /\.git/ {return 404;} - location ~ /\.hg/ {return 404;} - location ~ /\.bzr/ {return 404;} - - include %home%/%user%/conf/snginx.%domain%.conf*; -} - diff --git a/data/templates/web/nginx_default.tpl b/data/templates/web/nginx_default.tpl deleted file mode 100755 index a3535419a..000000000 --- a/data/templates/web/nginx_default.tpl +++ /dev/null @@ -1,33 +0,0 @@ -server { - listen %ip%:%proxy_port%; - server_name %domain_idn% %alias_idn%; - %elog%error_log /var/log/httpd/domains/%domain%.error.log error; - - location / { - proxy_pass http://%ip%:%web_port%; - location ~* ^.+\.(%nginx_extentions%)$ { - root %docroot%; - access_log /var/log/httpd/domains/%domain%.log combined; - access_log /var/log/httpd/domains/%domain%.bytes bytes; - expires max; - try_files $uri @fallback; - } - } - - location /error/ { - alias %home%/%user%/web/%domain%/document_errors/; - } - - location @fallback { - proxy_pass http://%ip%:%web_port%; - } - - location ~ /\.ht {return 404;} - location ~ /\.svn/ {return 404;} - location ~ /\.git/ {return 404;} - location ~ /\.hg/ {return 404;} - location ~ /\.bzr/ {return 404;} - - include %home%/%user%/conf/nginx.%domain%.conf*; -} - diff --git a/data/templates/web/skel/document_errors/403.html b/data/templates/web/skel/document_errors/403.html deleted file mode 100755 index b87090802..000000000 --- a/data/templates/web/skel/document_errors/403.html +++ /dev/null @@ -1,29 +0,0 @@ - - - 403 — Forbidden - - - - - - -

%domain%

- -

403

-

Forbidden

-
- Unfortunately, you do not have permission to view this -
- - - diff --git a/data/templates/web/skel/document_errors/404.html b/data/templates/web/skel/document_errors/404.html deleted file mode 100755 index dc8ab63fe..000000000 --- a/data/templates/web/skel/document_errors/404.html +++ /dev/null @@ -1,28 +0,0 @@ - - - 404 — Not Found - - - - - - -

%domain%

-

404

-

Page Not Found

-
- It seems that the page you were trying to reach does not exist anymore, or maybe it has just moved. - You can start again from the home or go back to previous page. -
- - diff --git a/data/templates/web/skel/document_errors/50x.html b/data/templates/web/skel/document_errors/50x.html deleted file mode 100755 index dc9fa78d0..000000000 --- a/data/templates/web/skel/document_errors/50x.html +++ /dev/null @@ -1,29 +0,0 @@ - - - 500 — Internal Sever Error - - - - - - -

%domain%

- -

500

-

Internal Server Error

-
- Sorry, something went wrong :( -
- - - diff --git a/data/templates/web/skel/public_html/index.html b/data/templates/web/skel/public_html/index.html deleted file mode 100755 index 4f5bb7244..000000000 --- a/data/templates/web/skel/public_html/index.html +++ /dev/null @@ -1,26 +0,0 @@ - - - %domain% — Coming Soon - - - - - - -

%domain%

-
- Powered by VESTA -
- - - - diff --git a/data/templates/web/skel/public_html/robots.txt b/data/templates/web/skel/public_html/robots.txt deleted file mode 100755 index 00ee83dcf..000000000 --- a/data/templates/web/skel/public_html/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# vestacp autogenerated robots.txt -User-agent: * -Crawl-delay: 10 diff --git a/data/templates/web/skel/public_shtml/index.html b/data/templates/web/skel/public_shtml/index.html deleted file mode 100755 index 4f5bb7244..000000000 --- a/data/templates/web/skel/public_shtml/index.html +++ /dev/null @@ -1,26 +0,0 @@ - - - %domain% — Coming Soon - - - - - - -

%domain%

-
- Powered by VESTA -
- - - - diff --git a/data/templates/web/skel/public_shtml/robots.txt b/data/templates/web/skel/public_shtml/robots.txt deleted file mode 100755 index 00ee83dcf..000000000 --- a/data/templates/web/skel/public_shtml/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# vestacp autogenerated robots.txt -User-agent: * -Crawl-delay: 10 diff --git a/data/templates/web/suspend/.htaccess b/data/templates/web/suspend/.htaccess deleted file mode 100755 index 5a6df83fb..000000000 --- a/data/templates/web/suspend/.htaccess +++ /dev/null @@ -1,2 +0,0 @@ -ErrorDocument 403 /index.html -ErrorDocument 404 /index.html diff --git a/data/templates/web/suspend/index.html b/data/templates/web/suspend/index.html deleted file mode 100755 index d5d299077..000000000 --- a/data/templates/web/suspend/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - SUSPEND - - - - - - -

SUSPEND

-

Your site has been suspended

-
- Please contact technical support departament. -
- - - diff --git a/data/templates/web/webalizer.tpl b/data/templates/web/webalizer.tpl deleted file mode 100755 index 2e4fee3f8..000000000 --- a/data/templates/web/webalizer.tpl +++ /dev/null @@ -1,110 +0,0 @@ -HostName %domain_idn% -LogFile /var/log/httpd/domains/%domain%.log -OutputDir %home%/%user%/web/%domain%/stats -HistoryName %home%/%user%/web/%domain%/stats/%domain%.hist -Incremental yes -IncrementalName %home%/%user%/web/%domain%/stats/%domain%.current -PageType htm* -PageType cgi -PageType php -PageType shtml -DNSCache /var/lib/webalizer/dns_cache.db -DNSChildren 10 -Quiet yes -FoldSeqErr yes -IndexAlias index.php -HideURL *.gif -HideURL *.GIF -HideURL *.jpg -HideURL *.JPG -HideURL *.png -HideURL *.PNG -HideURL *.ra -SearchEngine abcsearch. terms= -SearchEngine alexa. q= -SearchEngine alltheweb. q= -SearchEngine alltheweb. query= -SearchEngine alot. q= -SearchEngine altavista. q= -SearchEngine aolsearch. query= -SearchEngine aport.ru r= -SearchEngine ask. q= -SearchEngine atlas.cz q= -SearchEngine bbc. q= -SearchEngine bing. q= -SearchEngine blingo. q= -SearchEngine blogs.yandex.ru text= -SearchEngine btopenworld query= -SearchEngine buscador.ya.com q= -SearchEngine busca. q= -SearchEngine business. query= -SearchEngine centrum.cz q= -SearchEngine chiff. q= -SearchEngine clusty. query= -SearchEngine comcast. q= -SearchEngine crawler. q= -SearchEngine cuil. q= -SearchEngine dmoz. search= -SearchEngine dogpile.com q= -SearchEngine dpxml qkw= -SearchEngine eureka. searchword= -SearchEngine euroseek. string= -SearchEngine exalead. q= -SearchEngine excite search= -SearchEngine ezilon. q= -SearchEngine fastbrowsersearch. q= -SearchEngine feedster.com q= -SearchEngine fireball.de q= -SearchEngine fireball. keyword= -SearchEngine freeserve. q= -SearchEngine gigablast. q= -SearchEngine gogo.ru q= -SearchEngine go.mail.ru q= -SearchEngine google. q= -SearchEngine hakia. q= -SearchEngine hotbot. query= -SearchEngine infoseek. qt= -SearchEngine iwon searchfor= -SearchEngine ixquick.com query= -SearchEngine joeant. keywords= -SearchEngine jyxo.cz s= -SearchEngine looksmart. key= -SearchEngine lycos. query= -SearchEngine mamma. q= -SearchEngine metacrawler q= -SearchEngine msn. MT= -SearchEngine msxml qkw= -SearchEngine mysearch. searchfor= -SearchEngine mywebsearch. searchfor= -SearchEngine netscape. q= -SearchEngine nigma.ru q= -SearchEngine northernlight. qr= -SearchEngine ntlworld. q= -SearchEngine orange. q= -SearchEngine overture. Keywords= -SearchEngine punto.ru text= -SearchEngine rambler. keyword= -SearchEngine search.aol. q= -SearchEngine search.babylon. q= -SearchEngine search.centrum. phrase= -SearchEngine search.conduit. q= -SearchEngine search.earthlink q= -SearchEngine search.icq. q= -SearchEngine search.live.com q= -SearchEngine search.rambler.ru words= -SearchEngine search.winamp. q= -SearchEngine searchy. q= -SearchEngine seznam.cz w= -SearchEngine snap. query= -SearchEngine teoma. q= -SearchEngine teradex.com q= -SearchEngine ukplus key= -SearchEngine verizon. q= -SearchEngine virginmedia. q= -SearchEngine voila. rdata= -SearchEngine webcrawler searchText= -SearchEngine web.search.naver. query= -SearchEngine wisenut q= -SearchEngine yahoo. p= -SearchEngine yandex. text= -SearchEngine yodao. q= diff --git a/data/users/.gitignore b/data/users/.gitignore deleted file mode 100644 index e69de29bb..000000000