Changeset 514
- Timestamp:
- 04/18/07 19:12:00
(2 years ago)
- Author:
- rats
- Message:
- DISTS:
- Fedora: updated files
- Gentoo: updated files
- SuSE 10.0: updated files
- SuSE 9.3: updated files
- RELEASE ispCP ω Omega 1.0.0 RC1
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r512 |
r514 |
|
| 15 | 15 | * Fedora: updated files |
|---|
| 16 | 16 | * Gentoo: updated files |
|---|
| | 17 | * SuSE 10.0: updated files |
|---|
| | 18 | * SuSE 9.3: updated files |
|---|
| 17 | 19 | - DOCS: |
|---|
| 18 | 20 | * SuSE: updated installation |
|---|
| … | … | |
| 27 | 29 | - TOOLS: |
|---|
| 28 | 30 | * PMA update 2.10.2-RC1 |
|---|
| | 31 | - RELEASE ispCP ω Omega 1.0.0 RC1 |
|---|
| 29 | 32 | |
|---|
| 30 | 33 | 2007-04-17 Benedikt Heintel |
|---|
| r473 |
r514 |
|
| 5 | 5 | |
|---|
| 6 | 6 | # Look for and purge old sessions every 30 minutes |
|---|
| 7 | | 09,39 * * * * root /var/www/ispcp/engine/tools/ispcpphptemp.sh >/dev/null 2>&1 |
|---|
| | 7 | 09,39 * * * * root /srv/www/ispcp/engine/tools/ispcpphptemp.sh >/dev/null 2>&1 |
|---|
| r473 |
r514 |
|
| 9 | 9 | sharedscripts |
|---|
| 10 | 10 | prerotate |
|---|
| 11 | | /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log |
|---|
| | 11 | /srv/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log |
|---|
| 12 | 12 | endscript |
|---|
| 13 | 13 | postrotate |
|---|
| r512 |
r514 |
|
| 13 | 13 | cp ./fastcgi.conf ./working/fastcgi.conf |
|---|
| 14 | 14 | cp ./httpd.conf $(SYSTEM_CONF)/apache |
|---|
| | 15 | cp ./00_master.conf $(SYSTEM_CONF)/apache |
|---|
| 15 | 16 | cp -R ./backup $(SYSTEM_CONF)/apache |
|---|
| 16 | 17 | cp -R ./parts $(SYSTEM_CONF)/apache |
|---|
| r512 |
r514 |
|
| 309 | 309 | USER_INITIAL_THEME = omega_original |
|---|
| 310 | 310 | |
|---|
| 311 | | ISPCP_LICENSE = ispCP 1.0rc2 OMEGA<br />build: 2007-04-16<br />Priamos |
|---|
| | 311 | ISPCP_LICENSE = ispCP 1.0rc2 OMEGA<br />build: 2007-04-18<br />Priamos |
|---|
| 312 | 312 | |
|---|
| 313 | 313 | FTP_USERNAME_SEPARATOR = @ |
|---|
| r473 |
r514 |
|
| 1 | | |
|---|
| 2 | | ROOT_APACHE_CONF=$(ROOT_CONF)/apache2/vhosts.d |
|---|
| | 1 | ROOT_APACHE_CONF=$(ROOT_CONF)/httpd/conf.d |
|---|
| 3 | 2 | |
|---|
| 4 | 3 | export |
|---|
| … | … | |
| 10 | 9 | |
|---|
| 11 | 10 | cp ./httpd.conf ./working/ispcp.conf |
|---|
| 12 | | |
|---|
| | 11 | cp ./fastcgi.conf ./working/fastcgi.conf |
|---|
| 13 | 12 | cp ./httpd.conf $(SYSTEM_CONF)/apache |
|---|
| | 13 | cp ./00_master.conf $(SYSTEM_CONF)/apache |
|---|
| 14 | 14 | cp -R ./backup $(SYSTEM_CONF)/apache |
|---|
| 15 | 15 | cp -R ./parts $(SYSTEM_CONF)/apache |
|---|
| 16 | 16 | cp -R ./working $(SYSTEM_CONF)/apache |
|---|
| 17 | 17 | |
|---|
| 18 | | cp -R ./httpd.conf $(ROOT_APACHE_CONF)/ispcp.conf |
|---|
| | 18 | cp -R ./httpd.conf $(ROOT_APACHE_CONF)/vhost.d/ispcp.conf |
|---|
| | 19 | cp -R ./fastcgi.conf $(ROOT_APACHE_CONF)/modules.d/fastcgi.conf |
|---|
| 19 | 20 | |
|---|
| 20 | 21 | uninstall: |
|---|
| … | … | |
| 22 | 23 | rm -rf $(SYSTEM_CONF)/apache |
|---|
| 23 | 24 | rm -rf $(ROOT_APACHE_CONF)/ispcp.conf |
|---|
| 24 | | |
|---|
| r473 |
r514 |
|
| 1 | 1 | # httpd Data BEGIN. |
|---|
| | 2 | |
|---|
| | 3 | # |
|---|
| | 4 | # wget-hack prevention |
|---|
| | 5 | # |
|---|
| | 6 | |
|---|
| | 7 | <IfModule mod_rewrite.c> |
|---|
| | 8 | RewriteEngine on |
|---|
| | 9 | RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple |
|---|
| | 10 | RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] |
|---|
| | 11 | </IfModule> |
|---|
| 2 | 12 | |
|---|
| 3 | 13 | # |
|---|
| … | … | |
| 8 | 18 | |
|---|
| 9 | 19 | # |
|---|
| 10 | | # GUI Location. |
|---|
| | 20 | # AWStats |
|---|
| 11 | 21 | # |
|---|
| 12 | 22 | |
|---|
| 13 | | Alias /ispcp /srv/www/ispcp/gui |
|---|
| 14 | | <Directory /srv/www/ispcp/gui> |
|---|
| 15 | | AllowOverride none |
|---|
| 16 | | Options MultiViews IncludesNoExec FollowSymLinks |
|---|
| 17 | | ErrorDocument 404 /ispcp/errordocs/index.php |
|---|
| 18 | | DirectoryIndex index.html index.php |
|---|
| | 23 | Alias /awstatsclasses "/srv/www/awstats/classes/" |
|---|
| | 24 | Alias /awstatscss "/srv/www/awstats/css/" |
|---|
| | 25 | Alias /awstatsicons "/srv/www/awstats/icon/" |
|---|
| | 26 | Alias /awstatsjs "/srv/www/awstats/js/" |
|---|
| | 27 | Alias /stats "/usr/lib/cgi-bin/awstats/" |
|---|
| | 28 | |
|---|
| | 29 | <Directory /usr/lib/cgi-bin/awstats> |
|---|
| | 30 | AllowOverride AuthConfig |
|---|
| | 31 | Options -Includes FollowSymLinks +ExecCGI MultiViews |
|---|
| | 32 | AddHandler cgi-script cgi pl |
|---|
| | 33 | DirectoryIndex awstats.pl |
|---|
| | 34 | Order deny,allow |
|---|
| 19 | 35 | Allow from all |
|---|
| 20 | 36 | </Directory> |
|---|
| 21 | 37 | |
|---|
| 22 | | <Directory /srv/www/ispcp/gui/tools/filemanager> |
|---|
| 23 | | php_flag register_globals On |
|---|
| 24 | | php_admin_value open_basedir "/srv/www/ispcp/gui/tools/filemanager/:/tmp/:/usr/share/php/" |
|---|
| 25 | | </Directory> |
|---|
| 26 | | |
|---|
| 27 | | Alias /ispcp_images /srv/www/ispcp/gui/images |
|---|
| 28 | | <Directory /srv/www/ispcp/gui/images> |
|---|
| 29 | | AllowOverride none |
|---|
| 30 | | Options MultiViews IncludesNoExec FollowSymLinks |
|---|
| 31 | | </Directory> |
|---|
| 32 | | |
|---|
| 33 | 38 | # |
|---|
| 34 | | # Default GUI. |
|---|
| | 39 | # Header End |
|---|
| 35 | 40 | # |
|---|
| 36 | | |
|---|
| 37 | | <VirtualHost _default_:*> |
|---|
| 38 | | |
|---|
| 39 | | DocumentRoot /srv/www/ispcp/gui |
|---|
| 40 | | |
|---|
| 41 | | <Directory /srv/www/ispcp/gui> |
|---|
| 42 | | Options Indexes Includes FollowSymLinks MultiViews |
|---|
| 43 | | AllowOverride None |
|---|
| 44 | | Order allow,deny |
|---|
| 45 | | Allow from all |
|---|
| 46 | | </Directory> |
|---|
| 47 | | |
|---|
| 48 | | </VirtualHost> |
|---|
| 49 | 41 | |
|---|
| 50 | 42 | # httpd [{IP}] virtual host entry BEGIN. |
|---|
| r473 |
r514 |
|
| 5 | 5 | #Group {SUEXEC_GROUP} |
|---|
| 6 | 6 | # |
|---|
| 7 | | |
|---|
| 8 | | # |
|---|
| 9 | | #SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| 10 | | # |
|---|
| | 7 | |
|---|
| | 8 | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| 11 | 9 | |
|---|
| 12 | 10 | ServerAdmin root@{ALS_NAME} |
|---|
| … | … | |
| 31 | 29 | # httpd als entry redirect entry BEGIN. |
|---|
| 32 | 30 | # httpd als entry redirect entry END. |
|---|
| 33 | | |
|---|
| | 31 | |
|---|
| 34 | 32 | # httpd als entry cgi support BEGIN. |
|---|
| 35 | 33 | # httpd als entry cgi support END. |
|---|
| 36 | 34 | |
|---|
| 37 | | <Directory {GUI_ROOT_DIR}> |
|---|
| 38 | | php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/ispcp/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| 39 | | php_admin_value session.save_path "/tmp/" |
|---|
| 40 | | </Directory> |
|---|
| | 35 | <IfModule mod_fastcgi.c> |
|---|
| | 36 | ScriptAlias /php4/ {STARTER_DIR}/{DMN_NAME}/ |
|---|
| | 37 | <Directory "{STARTER_DIR}/{DMN_NAME}"> |
|---|
| | 38 | AllowOverride None |
|---|
| | 39 | Options +ExecCGI -MultiViews -Indexes |
|---|
| | 40 | Order allow,deny |
|---|
| | 41 | Allow from all |
|---|
| | 42 | </Directory> |
|---|
| | 43 | </IfModule> |
|---|
| | 44 | |
|---|
| | 45 | <IfModule mod_php.c> |
|---|
| | 46 | <Directory {GUI_ROOT_DIR}> |
|---|
| | 47 | php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/ispcp/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| | 48 | php_admin_value session.save_path "{GUI_ROOT_DIR}/phptmp/" |
|---|
| | 49 | </Directory> |
|---|
| | 50 | </IfModule> |
|---|
| 41 | 51 | |
|---|
| 42 | 52 | # httpd als entry PHP2 support BEGIN. |
|---|
| r154 |
r514 |
|
| 1 | | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}{MOUNT_POINT}:{WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/phptmp:{PEAR_DIR}" |
|---|
| 2 | | php_admin_value upload_tmp_dir "{WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/phptmp" |
|---|
| 3 | | php_admin_value session.save_path "{WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/phptmp" |
|---|
| 4 | | php_admin_value sendmail_path '/usr/sbin/sendmail -f{SUEXEC_USER} -t -i' |
|---|
| 5 | | |
|---|
| | 1 | <IfModule mod_php4.c> |
|---|
| | 2 | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}{MOUNT_POINT}:{WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/phptmp:{PEAR_DIR}" |
|---|
| | 3 | php_admin_value upload_tmp_dir "{WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/phptmp" |
|---|
| | 4 | php_admin_value session.save_path "{WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/phptmp" |
|---|
| | 5 | php_admin_value sendmail_path '/usr/sbin/sendmail -f {SUEXEC_USER} -t -i' |
|---|
| | 6 | </IfModule> |
|---|
| r154 |
r514 |
|
| 1 | | php_admin_flag engine off |
|---|
| | 1 | <IfModule mod_php4.c> |
|---|
| | 2 | php_admin_flag engine off |
|---|
| | 3 | </IfModule> |
|---|
| r473 |
r514 |
|
| 1 | 1 | <VirtualHost {DMN_IP}:80> |
|---|
| 2 | | |
|---|
| 3 | | # |
|---|
| 4 | | #User {SUEXEC_USER} |
|---|
| 5 | | #Group {SUEXEC_GROUP} |
|---|
| 6 | | # |
|---|
| 7 | | |
|---|
| 8 | | # |
|---|
| 9 | | #SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| 10 | | # |
|---|
| | 2 | |
|---|
| | 3 | <IfModule mod_fastcgi.c> |
|---|
| | 4 | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| | 5 | </IfModule> |
|---|
| 11 | 6 | |
|---|
| 12 | 7 | ServerAdmin root@{DMN_NAME} |
|---|
| 13 | 8 | DocumentRoot {WWW_DIR}/{DMN_NAME}/htdocs |
|---|
| 14 | | |
|---|
| | 9 | |
|---|
| 15 | 10 | ServerName {DMN_NAME} |
|---|
| 16 | 11 | ServerAlias www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} |
|---|
| 17 | | |
|---|
| | 12 | |
|---|
| 18 | 13 | ErrorLog {APACHE_USERS_LOG_DIR}/{DMN_NAME}-error.log |
|---|
| 19 | 14 | TransferLog {APACHE_USERS_LOG_DIR}/{DMN_NAME}-access.log |
|---|
| 20 | | |
|---|
| | 15 | |
|---|
| 21 | 16 | CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff |
|---|
| 22 | 17 | CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined |
|---|
| 23 | | |
|---|
| | 18 | |
|---|
| 24 | 19 | Alias /errors {WWW_DIR}/{DMN_NAME}/errors/ |
|---|
| 25 | | |
|---|
| | 20 | |
|---|
| 26 | 21 | ErrorDocument 401 /errors/401/index.php |
|---|
| 27 | 22 | ErrorDocument 403 /errors/403/index.php |
|---|
| … | … | |
| 29 | 24 | ErrorDocument 500 /errors/500/index.php |
|---|
| 30 | 25 | |
|---|
| | 26 | Redirect /stats http://{DMN_NAME}/awstats/awstats.pl |
|---|
| | 27 | Redirect /ispcp http://{BASE_SERVER_VHOST} |
|---|
| | 28 | |
|---|
| 31 | 29 | # httpd dmn entry cgi support BEGIN. |
|---|
| 32 | 30 | # httpd dmn entry cgi support END. |
|---|
| 33 | | |
|---|
| 34 | | <Directory {GUI_ROOT_DIR}> |
|---|
| 35 | | php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/ispcp/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| 36 | | php_admin_value session.save_path "/tmp/" |
|---|
| 37 | | </Directory> |
|---|
| | 31 | |
|---|
| | 32 | <IfModule mod_fastcgi.c> |
|---|
| | 33 | ScriptAlias /php4/ {STARTER_DIR}/{DMN_NAME}/ |
|---|
| | 34 | <Directory "{STARTER_DIR}/{DMN_NAME}"> |
|---|
| | 35 | AllowOverride None |
|---|
| | 36 | Options +ExecCGI -MultiViews -Indexes |
|---|
| | 37 | Order allow,deny |
|---|
| | 38 | Allow from all |
|---|
| | 39 | </Directory> |
|---|
| | 40 | </IfModule> |
|---|
| | 41 | |
|---|
| | 42 | <IfModule mod_php4.c> |
|---|
| | 43 | <Directory {GUI_ROOT_DIR}> |
|---|
| | 44 | php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/ispcp/:/proc/:{WWW_DIR}/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| | 45 | php_admin_value session.save_path "{GUI_ROOT_DIR}/phptmp/" |
|---|
| | 46 | </Directory> |
|---|
| | 47 | </IfModule> |
|---|
| 38 | 48 | |
|---|
| 39 | 49 | # httpd dmn entry PHP2 support BEGIN. |
|---|
| 40 | 50 | # httpd dmn entry PHP2 support END. |
|---|
| 41 | | |
|---|
| | 51 | |
|---|
| 42 | 52 | <Directory {WWW_DIR}/{DMN_NAME}/htdocs> |
|---|
| 43 | 53 | # httpd dmn entry PHP support BEGIN. |
|---|
| 44 | 54 | # httpd dmn entry PHP support END. |
|---|
| 45 | 55 | Options -Indexes Includes FollowSymLinks MultiViews |
|---|
| 46 | | AllowOverride AuthConfig FileInfo |
|---|
| | 56 | AllowOverride All |
|---|
| 47 | 57 | Order allow,deny |
|---|
| 48 | 58 | Allow from all |
|---|
| 49 | 59 | </Directory> |
|---|
| 50 | | |
|---|
| | 60 | |
|---|
| 51 | 61 | </VirtualHost> |
|---|
| r154 |
r514 |
|
| 1 | | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}:{WWW_DIR}/{DMN_NAME}/phptmp:{PEAR_DIR}" |
|---|
| 2 | | php_admin_value upload_tmp_dir "{WWW_DIR}/{DMN_NAME}/phptmp" |
|---|
| 3 | | php_admin_value session.save_path "{WWW_DIR}/{DMN_NAME}/phptmp" |
|---|
| 4 | | php_admin_value sendmail_path '/usr/sbin/sendmail -f{SUEXEC_USER} -t -i' |
|---|
| 5 | | |
|---|
| | 1 | <IfModule mod_php4.c> |
|---|
| | 2 | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}:{WWW_DIR}/{DMN_NAME}/phptmp:{PEAR_DIR}" |
|---|
| | 3 | php_admin_value upload_tmp_dir "{WWW_DIR}/{DMN_NAME}/phptmp" |
|---|
| | 4 | php_admin_value session.save_path "{WWW_DIR}/{DMN_NAME}/phptmp" |
|---|
| | 5 | php_admin_value sendmail_path '/usr/sbin/sendmail -f {SUEXEC_USER} -t -i' |
|---|
| | 6 | </IfModule> |
|---|
| r154 |
r514 |
|
| 1 | | php_admin_flag engine off |
|---|
| | 1 | <IfModule mod_php4.c> |
|---|
| | 2 | php_admin_flag engine off |
|---|
| | 3 | </IfModule> |
|---|
| r473 |
r514 |
|
| 1 | 1 | # httpd Data BEGIN. |
|---|
| | 2 | |
|---|
| | 3 | # |
|---|
| | 4 | # wget-hack prevention |
|---|
| | 5 | # |
|---|
| | 6 | |
|---|
| | 7 | <IfModule mod_rewrite.c> |
|---|
| | 8 | RewriteEngine on |
|---|
| | 9 | RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple |
|---|
| | 10 | RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] |
|---|
| | 11 | </IfModule> |
|---|
| 2 | 12 | |
|---|
| 3 | 13 | # |
|---|
| … | … | |
| 20 | 30 | |
|---|
| 21 | 31 | <Directory /srv/www/ispcp/gui/tools/filemanager> |
|---|
| | 32 | <IfModule mod_php4.c> |
|---|
| 22 | 33 | php_flag register_globals On |
|---|
| 23 | 34 | php_admin_value open_basedir "/srv/www/ispcp/gui/tools/filemanager/:/tmp/:/usr/share/php/" |
|---|
| | 35 | </IfModule> |
|---|
| 24 | 36 | </Directory> |
|---|
| 25 | 37 | |
|---|
| … | … | |
| 31 | 43 | |
|---|
| 32 | 44 | # |
|---|
| 33 | | # Default GUI. |
|---|
| | 45 | # AWStats |
|---|
| 34 | 46 | # |
|---|
| 35 | 47 | |
|---|
| 36 | | <VirtualHost _default_:*> |
|---|
| | 48 | Alias /awstatsclasses "/srv/www/awstats/classes/" |
|---|
| | 49 | Alias /awstatscss "/srv/www/awstats/css/" |
|---|
| | 50 | Alias /awstatsicons "/srv/www/awstats/icon/" |
|---|
| | 51 | Alias /awstatsjs "/srv/www/awstats/js/" |
|---|
| | 52 | Alias /stats "/usr/lib/cgi-bin/awstats/" |
|---|
| 37 | 53 | |
|---|
| 38 | | DocumentRoot /srv/www/ispcp/gui |
|---|
| | 54 | <Directory /usr/lib/cgi-bin/awstats> |
|---|
| | 55 | AllowOverride AuthConfig |
|---|
| | 56 | Options -Includes FollowSymLinks +ExecCGI MultiViews |
|---|
| | 57 | AddHandler cgi-script cgi pl |
|---|
| | 58 | DirectoryIndex awstats.pl |
|---|
| | 59 | Order deny,allow |
|---|
| | 60 | Allow from all |
|---|
| | 61 | </Directory> |
|---|
| 39 | 62 | |
|---|
| 40 | | <Directory /srv/www/ispcp/gui> |
|---|
| 41 | | Options Indexes Includes FollowSymLinks MultiViews |
|---|
| 42 | | AllowOverride None |
|---|
| 43 | | Order allow,deny |
|---|
| 44 | | Allow from all |
|---|
| 45 | | </Directory> |
|---|
| 46 | | |
|---|
| 47 | | </VirtualHost> |
|---|
| | 63 | # |
|---|
| | 64 | # Header End |
|---|
| | 65 | # |
|---|
| 48 | 66 | |
|---|
| 49 | 67 | # httpd [{IP}] virtual host entry BEGIN. |
|---|
| r473 |
r514 |
|
| 5 | 5 | #Group {SUEXEC_GROUP} |
|---|
| 6 | 6 | # |
|---|
| 7 | | |
|---|
| 8 | | # |
|---|
| 9 | | #SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| 10 | | # |
|---|
| | 7 | |
|---|
| | 8 | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| 11 | 9 | |
|---|
| 12 | 10 | ServerAdmin root@{DMN_NAME} |
|---|
| 13 | 11 | DocumentRoot {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/htdocs |
|---|
| 14 | | |
|---|
| | 12 | |
|---|
| 15 | 13 | ServerName {SUB_NAME} |
|---|
| 16 | 14 | ServerAlias www.{SUB_NAME} {SUB_NAME} *.{SUB_NAME} |
|---|
| 17 | | |
|---|
| | 15 | |
|---|
| 18 | 16 | ErrorLog {APACHE_USERS_LOG_DIR}/{SUB_NAME}-error.log |
|---|
| 19 | 17 | TransferLog {APACHE_USERS_LOG_DIR}/{SUB_NAME}-access.log |
|---|
| 20 | | |
|---|
| | 18 | |
|---|
| 21 | 19 | CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff |
|---|
| 22 | 20 | CustomLog {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined |
|---|
| … | … | |
| 25 | 23 | |
|---|
| 26 | 24 | <Directory {WWW_DIR}/{DMN_NAME}/errors/> |
|---|
| 27 | | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/errors/" |
|---|
| | 25 | <IfModule mod_php4.c> |
|---|
| | 26 | php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/errors/" |
|---|
| | 27 | </IfModule> |
|---|
| 28 | 28 | </Directory> |
|---|
| 29 | 29 | |
|---|
| … | … | |
| 36 | 36 | # httpd sub entry cgi support END. |
|---|
| 37 | 37 | |
|---|
| 38 | | <Directory {GUI_ROOT_DIR}> |
|---|
| 39 | | php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/ispcp/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| 40 | | php_admin_value session.save_path "/tmp/" |
|---|
| 41 | | </Directory> |
|---|
| | 38 | <IfModule mod_fastcgi.c> |
|---|
| | 39 | ScriptAlias /php4/ {STARTER_DIR}/{DMN_NAME}/ |
|---|
| | 40 | <Directory "{STARTER_DIR}/{DMN_NAME}"> |
|---|
| | 41 | AllowOverride None |
|---|
| | 42 | Options +ExecCGI -MultiViews -Indexes |
|---|
| | 43 | Order allow,deny |
|---|
| | 44 | Allow from all |
|---|
| | 45 | </Directory> |
|---|
| | 46 | </IfModule> |
|---|
| | 47 | |
|---|
| | 48 | <IfModule mod_php4.c> |
|---|
| | 49 | <Directory {GUI_ROOT_DIR}> |
|---|
| | 50 | php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/ispcp/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| | 51 | php_admin_value session.save_path "{GUI_ROOT_DIR}/phptmp/" |
|---|
| | 52 | </Directory> |
|---|
| | 53 | </IfModule> |
|---|
| 42 | 54 | |
|---|
| 43 | 55 | # httpd sub entry PHP2 support BEGIN. |
|---|
| 44 | 56 | # httpd sub entry PHP2 support END. |
|---|
| 45 | | |
|---|
| | 57 | |
|---|
| 46 | 58 | <Directory {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/htdocs> |
|---|
| 47 | 59 | # httpd sub entry PHP support BEGIN. |
|---|
| 48 | 60 | # httpd sub entry PHP support END. |
|---|
| 49 | 61 | Options -Indexes Includes FollowSymLinks MultiViews |
|---|
| 50 | | AllowOverride AuthConfig FileInfo |
|---|
| | 62 | AllowOverride All |
|---|
| 51 | 63 | Order allow,deny |
|---|
| 52 | 64 | Allow from all |
|---|
| 53 | 65 | </Directory> |
|---|
| 54 | | |
|---|
| | 66 | |
|---|
| 55 | 67 | </VirtualHost> |
|---|
| r154 |
r514 |
|
| 1 | | php_admin_value open_basedir "{WWW_DIR}/{SUB_NAME_PHP2}:{WWW_DIR}/{SUB_NAME_PHP2}/phptmp:{PEAR_DIR}" |
|---|
| 2 | | php_admin_value upload_tmp_dir "{WWW_DIR}/{SUB_NAME_PHP2}/phptmp" |
|---|
| 3 | | php_admin_value session.save_path "{WWW_DIR}/{SUB_NAME_PHP2}/phptmp" |
|---|
| 4 | | php_admin_value sendmail_path '/usr/sbin/sendmail -f{SUEXEC_USER} -t -i' |
|---|
| 5 | | |
|---|
| | 1 | <IfModule mod_php4.c> |
|---|
| | 2 | php_admin_value open_basedir "{WWW_DIR}/{SUB_NAME_PHP2}:{WWW_DIR}/{SUB_NAME_PHP2}/phptmp:{PEAR_DIR}" |
|---|
| | 3 | php_admin_value upload_tmp_dir "{WWW_DIR}/{SUB_NAME_PHP2}/phptmp" |
|---|
| | 4 | php_admin_value session.save_path "{WWW_DIR}/{SUB_NAME_PHP2}/phptmp" |
|---|
| | 5 | php_admin_value sendmail_path '/usr/sbin/sendmail -f {SUEXEC_USER} -t -i' |
|---|
| | 6 | </IfModule> |
|---|
| r154 |
r514 |
|
| 1 | | php_admin_flag engine off |
|---|
| | 1 | <IfModule mod_php4.c> |
|---|
| | 2 | php_admin_flag engine off |
|---|
| | 3 | </IfModule> |
|---|
| r473 |
r514 |
|
| 1 | 1 | # httpd Data BEGIN. |
|---|
| | 2 | |
|---|
| | 3 | # |
|---|
| | 4 | # wget-hack prevention |
|---|
| | 5 | # |
|---|
| | 6 | |
|---|
| | 7 | <IfModule mod_rewrite.c> |
|---|
| | 8 | RewriteEngine on |
|---|
| | 9 | RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple |
|---|
| | 10 | RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] |
|---|
| | 11 | </IfModule> |
|---|
| 2 | 12 | |
|---|
| 3 | 13 | # |
|---|
| … | … | |
| 11 | 21 | # |
|---|
| 12 | 22 | |
|---|
| 13 | | Alias /ispcp /var/www/ispcp/gui |
|---|
| 14 | | <Directory /var/www/ispcp/gui> |
|---|
| | 23 | Alias /ispcp /srv/www/ispcp/gui |
|---|
| | 24 | <Directory /srv/www/ispcp/gui> |
|---|
| 15 | 25 | AllowOverride none |
|---|
| 16 | 26 | Options MultiViews IncludesNoExec FollowSymLinks |
|---|
| 17 | 27 | ErrorDocument 404 /ispcp/errordocs/index.php |
|---|
| 18 | 28 | DirectoryIndex index.html index.php |
|---|
| 19 | | Allow from all |
|---|
| 20 | 29 | </Directory> |
|---|
| 21 | 30 | |
|---|
| 22 | | <Directory /var/www/ispcp/gui/tools/filemanager> |
|---|
| 23 | | php_flag register_globals On |
|---|
| 24 | | php_admin_value open_basedir "/var/www/ispcp/gui/tools/filemanager/:/tmp/:/usr/share/php/" |
|---|
| | 31 | <Directory /srv/www/ispcp/gui/tools/filemanager> |
|---|
| | 32 | <IfModule mod_php4.c> |
|---|
| | 33 | php_flag register_globals On |
|---|
| | 34 | php_admin_value open_basedir "/srv/www/ispcp/gui/tools/filemanager/:/tmp/:/usr/share/php/" |
|---|
| | 35 | </IfModule> |
|---|
| 25 | 36 | </Directory> |
|---|
| 26 | 37 | |
|---|
| 27 | | Alias /ispcp_images /var/www/ispcp/gui/images |
|---|
| 28 | | <Directory /var/www/ispcp/gui/images> |
|---|
| 29 | | AllowOverride none |
|---|
| | 38 | Alias /ispcp_images /srv/www/ispcp/gui/images |
|---|
| | 39 | <Directory /srv/www/ispcp/gui/images> |
|---|
| | 40 | AllowOverride none |
|---|
| 30 | 41 | Options MultiViews IncludesNoExec FollowSymLinks |
|---|
| 31 | 42 | </Directory> |
|---|
| 32 | 43 | |
|---|
| 33 | 44 | # |
|---|
| 34 | | # Default GUI. |
|---|
| | 45 | # AWStats |
|---|
| 35 | 46 | # |
|---|
| 36 | 47 | |
|---|
| 37 | | <VirtualHost _default_:*> |
|---|
| | 48 | Alias /awstatsclasses "/srv/www/awstats/classes/" |
|---|
| | 49 | Alias /awstatscss "/srv/www/awstats/css/" |
|---|
| | 50 | Alias /awstatsicons "/srv/www/awstats/icon/" |
|---|
| | 51 | Alias /awstatsjs "/srv/www/awstats/js/" |
|---|
| | 52 | Alias /stats "/usr/lib/cgi-bin/awstats/" |
|---|
| 38 | 53 | |
|---|
| 39 | | DocumentRoot /var/www/ispcp/gui |
|---|
| | 54 | <Directory /usr/lib/cgi-bin/awstats> |
|---|
| | 55 | AllowOverride AuthConfig |
|---|
| | 56 | Options -Includes FollowSymLinks +ExecCGI MultiViews |
|---|
| | 57 | AddHandler cgi-script cgi pl |
|---|
| | 58 | DirectoryIndex awstats.pl |
|---|
| | 59 | Order deny,allow |
|---|
| | 60 | Allow from all |
|---|
| | 61 | </Directory> |
|---|
| 40 | 62 | |
|---|
| 41 | | <Directory /var/www/ispcp/gui> |
|---|
| 42 | | Options Indexes Includes FollowSymLinks MultiViews |
|---|
| 43 | | AllowOverride None |
|---|
| 44 | | Order allow,deny |
|---|
| 45 | | Allow from all |
|---|
| 46 | | </Directory> |
|---|
| 47 | | |
|---|
| 48 | | </VirtualHost> |
|---|
| | 63 | # |
|---|
| | 64 | # Header End |
|---|
| | 65 | # |
|---|
| 49 | 66 | |
|---|
| 50 | 67 | # httpd [{IP}] virtual host entry BEGIN. |
|---|
| r473 |
r514 |
|
| 2 | 2 | # delayed tasks START. |
|---|
| 3 | 3 | |
|---|
| 4 | | 0 23 * * * {QUOTA_ROOT_DIR}/ispcp-dsk-quota &>{LOG_DIR}/ispcp-qsk-quota.log |
|---|
| | 4 | # Quota |
|---|
| | 5 | 0 23 * * * {QUOTA_ROOT_DIR}/ispcp-dsk-quota &>{LOG_DIR}/ispcp-qsk-quota.log |
|---|
| 5 | 6 | |
|---|
| 6 | | 0,30 * * * * {TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log |
|---|
| 7 | | 30 23 * * * {TOOLS_ROOT_DIR}/ispcp-httpd-logs-mngr &>{LOG_DIR}/ispcp-httpd-logs-mngr.log |
|---|
| | 7 | # Traffic |
|---|
| | 8 | 0,30 * * * * {TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log |
|---|
| | 9 | 0,30 * * * * {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log |
|---|
| | 10 | 15,45 * * * * {TRAFF_ROOT_DIR}/ispcp-vrl-traff-correction &>{LOG_DIR}/ispcp-vrl-traff-correction.log |
|---|
| | 11 | 30 23 * * * {TOOLS_ROOT_DIR}/ispcp-httpd-logs-mngr &>{LOG_DIR}/ispcp-httpd-logs-mngr.log |
|---|
| 8 | 12 | |
|---|
| 9 | | 0,30 * * * * {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log |
|---|
| | 13 | # Backup |
|---|
| | 14 | 0 1 * * * {BACKUP_ROOT_DIR}/ispcp-backup-all yes &>{LOG_DIR}/ispcp-backup-all-mngr.log |
|---|
| 10 | 15 | |
|---|
| 11 | | 0 1 * * * {BACKUP_ROOT_DIR}/ispcp-backup-all yes &>{LOG_DIR}/ispcp-backup-all-mngr.log |
|---|
| | 16 | # AWStats |
|---|
| | 17 | 30 */2 * * * /usr/share/awstats/tools/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats/awstats.pl |
|---|
| | 18 | |
|---|
| | 19 | # Rootkit Hunter |
|---|
| | 20 | 0 0,12 * * * rkhunter --createlogfile --cronjob |
|---|
| 12 | 21 | |
|---|
| 13 | 22 | # [{DMN_NAME}] backup task START. |
|---|
| r473 |
r514 |
|
| 2 | 2 | # delayed tasks START. |
|---|
| 3 | 3 | |
|---|
| 4 | | 0 23 * * * {QUOTA_ROOT_DIR}/ispcp-dsk-quota &>{LOG_DIR}/ispcp-qsk-quota.log |
|---|
| | 4 | # Quota |
|---|
| | 5 | 0 23 * * * {QUOTA_ROOT_DIR}/ispcp-dsk-quota &>{LOG_DIR}/ispcp-qsk-quota.log |
|---|
| 5 | 6 | |
|---|
| | 7 | # Traffic |
|---|
| 6 | 8 | 0,30 * * * * {TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log |
|---|
| 7 | | 30 23 * * * {TOOLS_ROOT_DIR}/ispcp-httpd-logs-mngr &>{LOG_DIR}/ispcp-httpd-logs-mngr.log |
|---|
| | 9 | 0,30 * * * * {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log |
|---|
| | 10 | 30 23 * * * {TOOLS_ROOT_DIR}/ispcp-httpd-logs-mngr &>{LOG_DIR}/ispcp-httpd-logs-mngr.log |
|---|
| 8 | 11 | |
|---|
| 9 | | 0,30 * * * * {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log |
|---|
| | 12 | # Backup |
|---|
| | 13 | 0 1 * * * {BACKUP_ROOT_DIR}/ispcp-backup-all yes &>{LOG_DIR}/ispcp-backup-all-mngr.log |
|---|
| 10 | 14 | |
|---|
| 11 | | 0 1 * * * {BACKUP_ROOT_DIR}/ispcp-backup-all yes &>{LOG_DIR}/ispcp-backup-all-mngr.log |
|---|
| | 15 | # AWStats |
|---|
| | 16 | 30 */2 * * * /usr/share/awstats/tools/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats/awstats.pl |
|---|
| | 17 | |
|---|
| | 18 | # Rootkit Hunter |
|---|
| | 19 | 0 0,12 * * * rkhunter --createlogfile --cronjob |
|---|
| 12 | 20 | |
|---|
| 13 | 21 | # [{DMN_NAME}] backup task START. |
|---|
| … | … | |
| 15 | 23 | |
|---|
| 16 | 24 | # delayed tasks END. |
|---|
| 17 | | |
|---|
| r154 |
r514 |
|
| 6 | 6 | $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/database |
|---|
| 7 | 7 | cp ./database.sql $(SYSTEM_CONF)/database |
|---|
| 8 | | cp ./htaccess.sql $(SYSTEM_CONF)/database |
|---|
| 9 | 8 | cp ./languages.sql $(SYSTEM_CONF)/database |
|---|
| 10 | 9 | |
|---|
| … | … | |
| 12 | 11 | |
|---|
| 13 | 12 | rm -rf $(SYSTEM_CONF)/database |
|---|
| 14 | | |
|---|
| | 13 | |
|---|
| r473 |
r514 |
|
| 4 | 4 | |
|---|
| 5 | 5 | -- |
|---|
| 6 | | -- ISPCP ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 6 | -- ISPCP ω (OMEGA) a Virtual Hosting Control Panel |
|---|
| 7 | 7 | -- Copyright (c) 2001-2006 by moleSoftware GmbH |
|---|
| 8 | 8 | -- Copyright (c) 2006-2007 by ispCP | http://isp-control.net |
|---|
| r473 |
r514 |
|
| 1 | | # ISPCP(tm) - Virtual Hosting Control System |
|---|
| 2 | | # (c) 2001-2005 moleSoftware |
|---|
| 3 | | # http://ispcp.net | http://www.molesoftware.com |
|---|
| 4 | | # All rights reserved |
|---|
| 5 | | # |
|---|
| 6 | | # created by Erik Lehmann (erik.lehmann@ispcp.net) |
|---|
| 7 | | # |
|---|
| 8 | | # Datenbank: `ispcp` |
|---|
| 9 | | # -------------------------------------------------------- |
|---|
| | 1 | -- |
|---|
| | 2 | -- ISPCP ω (OMEGA) a Virtual Hosting Control Panel |
|---|
| | 3 | -- Copyright (c) 2001-2006 by moleSoftware GmbH |
|---|
| | 4 | -- Copyright (c) 2006-2007 by ispCP | http://isp-control.net |
|---|
| | 5 | -- |
|---|
| | 6 | -- -------------------------------------------------------- |
|---|
| 10 | 7 | |
|---|
| 11 | | -- |
|---|
| 12 | | -- Tabellenstruktur f�elle `lang_Chinese` |
|---|
| 13 | | -- |
|---|
| | 8 | -- |
|---|
| | 9 | -- Tabellenstruktur für Tabelle `lang_English` |
|---|
| | 10 | -- |
|---|
| 14 | 11 | |
|---|
| 15 | | DROP TABLE IF EXISTS `lang_Chinese`; |
|---|
| 16 | | CREATE TABLE IF NOT EXISTS `lang_Chinese` ( |
|---|
| | 12 | CREATE TABLE `lang_English` ( |
|---|
| 17 | 13 | `id` int(10) unsigned NOT NULL auto_increment, |
|---|
| 18 | 14 | `msgid` text, |
|---|
| 19 | 15 | `msgstr` text, |
|---|
| 20 | | `msg_row` int(10) unsigned default NULL, |
|---|
| 21 | | `msg_column` int(10) unsigned default NULL, |
|---|
| 22 | | `msg_file_dest` text, |
|---|
| 23 | | `msg_name` varchar(250) default NULL, |
|---|
| 24 | 16 | UNIQUE KEY `id` (`id`) |
|---|
| 25 | | ) TYPE=MyISAM AUTO_INCREMENT=1073 ; |
|---|
| | 17 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1115 ; |
|---|
| 26 | 18 | |
|---|
| 27 | | -- |
|---|
| 28 | | -- Daten f�elle `lang_Chinese` |
|---|
| 29 | | -- |
|---|
| | 19 | -- |
|---|
| | 20 | -- Daten für Tabelle `lang_English` |
|---|
| | 21 | -- |
|---|
| 30 | 22 | |
|---|
| 31 | | INSERT INTO `lang_Chinese` VALUES (1, 'ispcp_table', 'Chinese', NULL, NULL, NULL, NULL); |
|---|
| 32 | | INSERT INTO `lang_Chinese` VALUES (2, 'ispcp_language', 'Chinese', NULL, NULL, NULL, NULL); |
|---|
| 33 | | INSERT INTO `lang_Chinese` VALUES (3, 'encoding', 'GB2312', NULL, NULL, NULL, NULL); |
|---|
| 34 | | INSERT INTO `lang_Chinese` VALUES (4, ' do not exist', '����', NULL, NULL, NULL, NULL); |
|---|
| 35 | | INSERT INTO `lang_Chinese` VALUES (5, ' Has IP address that can not be managed from the destination reseller !<br>This user can not be moved!', '�������������IP���!<br>������������', NULL, NULL, NULL, NULL); |
|---|
| 36 | | INSERT INTO `lang_Chinese` VALUES (6, ' Has unlimited rights for a <b>', '����������Ϊ <b>', NULL, NULL, NULL, NULL); |
|---|
| 37 | | INSERT INTO `lang_Chinese` VALUES (7, ' is exceeding limits for a <b>', '�ﵽ�����Ϊ<b>', NULL, NULL, NULL, NULL); |
|---|
| 38 | | INSERT INTO `lang_Chinese` VALUES (8, ' Is exceeding limits for a <b>', '�ﵽ�����Ϊ<b>', NULL, NULL, NULL, NULL); |
|---|
| 39 | | INSERT INTO `lang_Chinese` VALUES (9, ' messages translated', '�Ϣ�����', NULL, NULL, NULL, NULL); |
|---|
| 40 | | INSERT INTO `lang_Chinese` VALUES (10, ' you are logged now as ', ' ���ǰ���Ϊ', NULL, NULL, NULL, NULL); |
|---|
| 41 | | INSERT INTO `lang_Chinese` VALUES (11, '(Ex. domain-of-your-choice.com)', '(��� domain-of-your-choice.com)', NULL, NULL, NULL, NULL); |
|---|
| 42 | | INSERT INTO `lang_Chinese` VALUES (12, '(Ex. EUR)', '(�. EUR)', NULL, NULL, NULL, NULL); |
|---|
| 43 | | INSERT INTO `lang_Chinese` VALUES (13, '(usually named backup_YYY_MM_DD.tar)', '(ͨ��ȡ�Ϊ backup_YYY_MM_DD.tar)', NULL, NULL, NULL, NULL); |
|---|
| 44 | | INSERT INTO `lang_Chinese` VALUES (14, '[New]', '[�]', NULL, NULL, NULL, NULL); |
|---|
| 45 | | INSERT INTO `lang_Chinese` VALUES (15, '[Re]', '[Re]', NULL, NULL, NULL, NULL); |
|---|
| 46 | | INSERT INTO `lang_Chinese` VALUES (16, '* denotes mandatory field.', '* ������, NULL, NULL, NULL, NULL); |
|---|
| 47 | | INSERT INTO `lang_Chinese` VALUES (17, ' ', ' ', NULL, NULL, NULL, NULL); |
|---|
| 48 | | INSERT INTO `lang_Chinese` VALUES (18, '</b>', '</b>', NULL, NULL, NULL, NULL); |
|---|
| 49 | | INSERT INTO `lang_Chinese` VALUES (19, '</b> Address !<br>Edit reseller aborted!', '</b> ��� !<br>�༭����, NULL, NULL, NULL, NULL); |
|---|
| 50 | | INSERT INTO `lang_Chinese` VALUES (20, '</b> amount, present on the system!', '</b> �������ϵͳ��', NULL, NULL, NULL, NULL); |
|---|
| 51 | | INSERT INTO `lang_Chinese` VALUES (21, '</b> in a destination reseller,<br>', '</b> ���Ŀ���,<br>', NULL, NULL, NULL, NULL); |
|---|
| 52 | | INSERT INTO `lang_Chinese` VALUES (22, '</b> In a destination reseller,<br>', '</b> ���Ŀ���,<br>', NULL, NULL, NULL, NULL); |
|---|
| 53 | | INSERT INTO `lang_Chinese` VALUES (23, '</b> records on the system!', '</b> ϵͳ�ļ��', NULL, NULL, NULL, NULL); |
|---|
| 54 | | |
|---|
|