Changeset 1095
- Timestamp:
- 04/02/08 01:31:07
(5 months ago)
- Author:
- rats
- Message:
* Fixed #1152: Hardcoded postfix configuration path in ispcp-mbox-mngr
* Fixed #1153: Hardcoded postfix configuration path in ispcp-dmn-mgr
* Fixed #1154: Hardcoded postfix configuration path in ispcp-sub-mgr & ispcp-als-mgr
* Fixed #1149: A warning if a domain is given instead of a fq host name (setup)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1092 |
r1095 |
|
| 2 | 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 3 | 3 | |
|---|
| | 4 | 2008-04-02 Benedikt Heintel |
|---|
| | 5 | - ENGINE: |
|---|
| | 6 | * Fixed #1152: Hardcoded postfix configuration path in ispcp-mbox-mngr |
|---|
| | 7 | * Fixed #1153: Hardcoded postfix configuration path in ispcp-dmn-mgr |
|---|
| | 8 | * Fixed #1154: Hardcoded postfix configuration path in ispcp-sub-mgr & ispcp-als-mgr |
|---|
| | 9 | - SETUP: |
|---|
| | 10 | * Fixed #1149: A warning if a domain is given instead of a fq host name (setup) |
|---|
| | 11 | - DISTS: |
|---|
| | 12 | * Fixed #1155: Fix major freebsd dist setup |
|---|
| | 13 | |
|---|
| 4 | 14 | 2008-03-31 Jochen Manz |
|---|
| 5 | 15 | - GUI: |
|---|
| 6 | | * FIXED #1143: Do not use javascript history_back() on login-error |
|---|
| | 16 | * Fixed #1143: Do not use javascript history_back() on login-error |
|---|
| 7 | 17 | |
|---|
| 8 | 18 | 2008-03-31 Benedikt Heintel |
|---|
| … | … | |
| 162 | 172 | * Updated: Update script; Update to RC3 |
|---|
| 163 | 173 | * Updated: Update script; Update to RC4 |
|---|
| 164 | | * Fixed #1087: ispcp_rc4 setup vs courier |
|---|
| 165 | | * Fixed #1088: ispcp_rc4 setup vs courier again |
|---|
| | 174 | * Fixed #1087: ispcp_RC4 setup vs courier |
|---|
| | 175 | * Fixed #1088: ispcp_RC4 setup vs courier again |
|---|
| 166 | 176 | * Changed: make directory to /tmp/ispcp |
|---|
| 167 | 177 | |
|---|
| r1082 |
r1095 |
|
| 17 | 17 | 1) Version Info |
|---|
| 18 | 18 | --------------- |
|---|
| 19 | | ispCP ω Version: 1.0.0 RC4 |
|---|
| | 19 | ispCP ω Version: 1.0.0 RC5 |
|---|
| 20 | 20 | INSTALL Script: 1.0 |
|---|
| 21 | 21 | Maintainer: |
|---|
| … | … | |
| 56 | 56 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 57 | 57 | # cd /root |
|---|
| 58 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 58 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 59 | 59 | |
|---|
| 60 | 60 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 154 | 154 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 155 | 155 | # cd /root |
|---|
| 156 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 156 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 157 | 157 | |
|---|
| 158 | 158 | 2. Change to the newly created directory: |
|---|
| r1082 |
r1095 |
|
| 17 | 17 | 1) Version Info |
|---|
| 18 | 18 | --------------- |
|---|
| 19 | | ispCP ω Version: 1.0.0 RC4 |
|---|
| | 19 | ispCP ω Version: 1.0.0 RC5 |
|---|
| 20 | 20 | INSTALL Script: 2.0 |
|---|
| 21 | 21 | Maintainer: Benedikt Heintel |
|---|
| … | … | |
| 57 | 57 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 58 | 58 | # cd /root |
|---|
| 59 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 59 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 60 | 60 | |
|---|
| 61 | 61 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 133 | 133 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 134 | 134 | # cd /root |
|---|
| 135 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 135 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 136 | 136 | |
|---|
| 137 | 137 | 2. Change to the newly created directory: |
|---|
| r1082 |
r1095 |
|
| 17 | 17 | 1) Version Info |
|---|
| 18 | 18 | --------------- |
|---|
| 19 | | ispCP ω Version: 1.0.0 RC4 |
|---|
| | 19 | ispCP ω Version: 1.0.0 RC5 |
|---|
| 20 | 20 | INSTALL Script: 1.0 |
|---|
| 21 | 21 | Maintainer: |
|---|
| … | … | |
| 55 | 55 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 56 | 56 | # cd /root |
|---|
| 57 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 57 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 58 | 58 | |
|---|
| 59 | 59 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 153 | 153 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 154 | 154 | # cd /root |
|---|
| 155 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 155 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 156 | 156 | |
|---|
| 157 | 157 | 2. Change to the newly created directory: |
|---|
| r1094 |
r1095 |
|
| 17 | 17 | 1) Version Info |
|---|
| 18 | 18 | --------------- |
|---|
| 19 | | ispCP ω Versio : 1.0.0 RC4 |
|---|
| | 19 | ispCP ω Versio : 1.0.0 RC5 |
|---|
| 20 | 20 | INSTALL Script : 2.0 |
|---|
| 21 | 21 | Maintainer : |
|---|
| … | … | |
| 57 | 57 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 58 | 58 | # cd /root |
|---|
| 59 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 59 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 60 | 60 | |
|---|
| 61 | 61 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 100 | 100 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 101 | 101 | # cd /root |
|---|
| 102 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 102 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 103 | 103 | |
|---|
| 104 | 104 | 2. Change to the newly created directory: |
|---|
| r1082 |
r1095 |
|
| 17 | 17 | 1) Version Info |
|---|
| 18 | 18 | --------------- |
|---|
| 19 | | ispCP ω Version: 1.0.0 RC4 |
|---|
| | 19 | ispCP ω Version: 1.0.0 RC5 |
|---|
| 20 | 20 | INSTALL Script: 0.9 |
|---|
| 21 | 21 | Maintainer: ispcp@pasichnyk.net |
|---|
| … | … | |
| 55 | 55 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 56 | 56 | # cd /root |
|---|
| 57 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 57 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 58 | 58 | |
|---|
| 59 | 59 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 106 | 106 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 107 | 107 | # cd /root |
|---|
| 108 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 108 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 109 | 109 | |
|---|
| 110 | 110 | 2. Change to the newly created directory: |
|---|
| r1082 |
r1095 |
|
| 17 | 17 | 1) Version Info |
|---|
| 18 | 18 | --------------- |
|---|
| 19 | | ispCP ω Version: 1.0.0 RC4 |
|---|
| | 19 | ispCP ω Version: 1.0.0 RC5 |
|---|
| 20 | 20 | INSTALL Script: 2.0 |
|---|
| 21 | 21 | Maintainer: |
|---|
| … | … | |
| 56 | 56 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 57 | 57 | # cd /root |
|---|
| 58 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 58 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 59 | 59 | |
|---|
| 60 | 60 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 178 | 178 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 179 | 179 | # cd /root |
|---|
| 180 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 180 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 181 | 181 | |
|---|
| 182 | 182 | 2. Change to the newly created directory: |
|---|
| r1082 |
r1095 |
|
| 17 | 17 | 1) Version Info |
|---|
| 18 | 18 | --------------- |
|---|
| 19 | | ispCP ω Version: 1.0.0 RC4 |
|---|
| | 19 | ispCP ω Version: 1.0.0 RC5 |
|---|
| 20 | 20 | INSTALL Script: 1.1 |
|---|
| 21 | 21 | Maintainer: |
|---|
| … | … | |
| 76 | 76 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 77 | 77 | # cd /root |
|---|
| 78 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 78 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 79 | 79 | |
|---|
| 80 | 80 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 147 | 147 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 148 | 148 | # cd /root |
|---|
| 149 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 149 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 150 | 150 | |
|---|
| 151 | 151 | 2. Change to the newly created directory: |
|---|
| r1082 |
r1095 |
|
| 58 | 58 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 59 | 59 | # cd /root |
|---|
| 60 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 60 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 61 | 61 | |
|---|
| 62 | 62 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 107 | 107 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 108 | 108 | # cd /root |
|---|
| 109 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 109 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 110 | 110 | |
|---|
| 111 | 111 | 2. Change to the newly created directory: |
|---|
| r994 |
r1095 |
|
| 17 | 17 | 1) Version Info |
|---|
| 18 | 18 | --------------- |
|---|
| 19 | | ispCP ω Version: 1.0.0 RC4 |
|---|
| | 19 | ispCP ω Version: 1.0.0 RC5 |
|---|
| 20 | 20 | INSTALL Script: 1.0 |
|---|
| 21 | 21 | Maintainer: |
|---|
| r1082 |
r1095 |
|
| 57 | 57 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 58 | 58 | # cd /root |
|---|
| 59 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 59 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 60 | 60 | |
|---|
| 61 | 61 | 2. Change to the newly created directory: |
|---|
| … | … | |
| 122 | 122 | 1. Untar or unzip the distribution files to a secure directory: |
|---|
| 123 | 123 | # cd /root |
|---|
| 124 | | # tar xjvf ispcp-omega-1.0.0-rc4.tar.bz2 |
|---|
| | 124 | # tar xjvf ispcp-omega-1.0.0-rc5.tar.bz2 |
|---|
| 125 | 125 | |
|---|
| 126 | 126 | 2. Change to the newly created directory: |
|---|
| r1089 |
r1095 |
|
| 2180 | 2180 | |
|---|
| 2181 | 2181 | |
|---|
| 2182 | | my $sys_cfg = "/etc/postfix/ispcp/domains"; |
|---|
| | 2182 | my $sys_cfg = $main::cfg{'MTA_VIRTUAL_DMN_HASH'}; |
|---|
| 2183 | 2183 | |
|---|
| 2184 | 2184 | my $working_cfg = "$working_dir/domains"; |
|---|
| … | … | |
| 2274 | 2274 | |
|---|
| 2275 | 2275 | |
|---|
| 2276 | | my $sys_cfg = "/etc/postfix/ispcp/domains"; |
|---|
| | 2276 | my $sys_cfg = $main::cfg{'MTA_VIRTUAL_DMN_HASH'}; |
|---|
| 2277 | 2277 | |
|---|
| 2278 | 2278 | my $working_cfg = "$working_dir/domains"; |
|---|
| r1089 |
r1095 |
|
| 2405 | 2405 | return $rs if ($rs != 0); |
|---|
| 2406 | 2406 | } |
|---|
| | 2407 | |
|---|
| 2407 | 2408 | if (! (-e "$starter_dir/$dmn_name/php5/php.ini")) { |
|---|
| 2408 | | $ini_tpl = ''; |
|---|
| 2409 | | $ini_cfg_dir = "$main::cfg{'CONF_DIR'}/fcgi/parts/php5"; |
|---|
| | 2409 | my $ini_tpl = undef; |
|---|
| | 2410 | my $ini_cfg_dir = "$main::cfg{'CONF_DIR'}/fcgi/parts/php5"; |
|---|
| 2410 | 2411 | |
|---|
| 2411 | 2412 | ($rs, $ini_tpl) = get_tpl($ini_cfg_dir, 'php.ini'); |
|---|
| 2412 | 2413 | return $rs if ($rs != 0); |
|---|
| 2413 | 2414 | |
|---|
| 2414 | | %tag_hash = ( |
|---|
| | 2415 | my %tag_hash = ( |
|---|
| 2415 | 2416 | '{PEAR_DIR}' => $pear_dir, |
|---|
| 2416 | 2417 | '{WWW_DIR}' => $www_dir, |
|---|
| … | … | |
| 2729 | 2730 | |
|---|
| 2730 | 2731 | |
|---|
| 2731 | | my $sys_cfg = "/etc/postfix/ispcp/domains"; |
|---|
| | 2732 | my $sys_cfg = $main::cfg{'MTA_VIRTUAL_DMN_HASH'}; |
|---|
| 2732 | 2733 | |
|---|
| 2733 | 2734 | my $working_cfg = "$working_dir/domains"; |
|---|
| … | … | |
| 2826 | 2827 | |
|---|
| 2827 | 2828 | |
|---|
| 2828 | | my $sys_cfg = "/etc/postfix/ispcp/domains"; |
|---|
| | 2829 | my $sys_cfg = $main::cfg{'MTA_VIRTUAL_DMN_HASH'}; |
|---|
| 2829 | 2830 | |
|---|
| 2830 | 2831 | my $working_cfg = "$working_dir/domains"; |
|---|
| r1068 |
r1095 |
|
| 288 | 288 | my ($sys, $working) = (undef, undef); |
|---|
| 289 | 289 | |
|---|
| 290 | | my $aliases_cfg = "/etc/postfix/ispcp/aliases"; |
|---|
| | 290 | my $aliases_cfg = $main::cgf{'MTA_VIRTUAL_ALIAS_HASH'}; |
|---|
| 291 | 291 | |
|---|
| 292 | 292 | my $aliases_working_cfg = "$working_dir/aliases"; |
|---|
| … | … | |
| 294 | 294 | my $aliases_backup_cfg = "$backup_dir/aliases.$timestamp"; |
|---|
| 295 | 295 | |
|---|
| 296 | | my $transport_cfg = "/etc/postfix/ispcp/transport"; |
|---|
| | 296 | my $transport_cfg = $main::cfg{'MTA_TRANSPORT_HASH'}; |
|---|
| 297 | 297 | |
|---|
| 298 | 298 | my $transport_working_cfg = "$working_dir/transport"; |
|---|
| … | … | |
| 796 | 796 | my ($sys, $working) = (undef, undef); |
|---|
| 797 | 797 | |
|---|
| 798 | | my $aliases_cfg = "/etc/postfix/ispcp/aliases"; |
|---|
| | 798 | my $aliases_cfg = $main::cfg{'MTA_VIRTUAL_ALIAS_HASH'}; |
|---|
| 799 | 799 | |
|---|
| 800 | 800 | my $aliases_working_cfg = "$working_dir/aliases"; |
|---|
| … | … | |
| 802 | 802 | my $aliases_backup_cfg = "$backup_dir/aliases.$timestamp"; |
|---|
| 803 | 803 | |
|---|
| 804 | | my $transport_cfg = "/etc/postfix/ispcp/transport"; |
|---|
| | 804 | my $transport_cfg = $main::cfg{'MTA_TRANSPORT_HASH'}; |
|---|
| 805 | 805 | |
|---|
| 806 | 806 | my $transport_working_cfg = "$working_dir/transport"; |
|---|
| … | … | |
| 1199 | 1199 | my ($sys, $working) = (undef, undef); |
|---|
| 1200 | 1200 | |
|---|
| 1201 | | my $mailboxes_cfg = "/etc/postfix/ispcp/mailboxes"; |
|---|
| | 1201 | my $mailboxes_cfg = $main::cfg{'MTA_VIRTUAL_MAILBOX_HASH'}; |
|---|
| 1202 | 1202 | |
|---|
| 1203 | 1203 | my $mailboxes_working_cfg = "$working_dir/mailboxes"; |
|---|
| … | … | |
| 1205 | 1205 | my $mailboxes_backup_cfg = "$backup_dir/mailboxes.$timestamp"; |
|---|
| 1206 | 1206 | |
|---|
| 1207 | | my $aliases_cfg = "/etc/postfix/ispcp/aliases"; |
|---|
| | 1207 | my $aliases_cfg = $main::cfg{'MTA_VIRTUAL_ALIAS_HASH'}; |
|---|
| 1208 | 1208 | |
|---|
| 1209 | 1209 | my $aliases_working_cfg = "$working_dir/aliases"; |
|---|
| … | … | |
| 1797 | 1797 | my ($sys, $working) = (undef, undef); |
|---|
| 1798 | 1798 | |
|---|
| 1799 | | my $mailboxes_cfg = "/etc/postfix/ispcp/mailboxes"; |
|---|
| | 1799 | my $mailboxes_cfg = $main::cgf{'MTA_VIRTUAL_MAILBOX_HASH'}; |
|---|
| 1800 | 1800 | |
|---|
| 1801 | 1801 | my $mailboxes_working_cfg = "$working_dir/mailboxes"; |
|---|
| … | … | |
| 1803 | 1803 | my $mailboxes_backup_cfg = "$backup_dir/mailboxes.$timestamp"; |
|---|
| 1804 | 1804 | |
|---|
| 1805 | | my $aliases_cfg = "/etc/postfix/ispcp/aliases"; |
|---|
| | 1805 | my $aliases_cfg = $main::cfg{'MTA_VIRTUAL_ALIAS_HASH'}; |
|---|
| 1806 | 1806 | |
|---|
| 1807 | 1807 | my $aliases_working_cfg = "$working_dir/aliases"; |
|---|
| r1089 |
r1095 |
|
| 1790 | 1790 | |
|---|
| 1791 | 1791 | |
|---|
| 1792 | | my $sys_cfg = "/etc/postfix/ispcp/domains"; |
|---|
| | 1792 | my $sys_cfg = $main::cfg{'MTA_VIRTUAL_DMN_HASH'}; |
|---|
| 1793 | 1793 | |
|---|
| 1794 | 1794 | my $working_cfg = "$working_dir/domains"; |
|---|
| … | … | |
| 1886 | 1886 | |
|---|
| 1887 | 1887 | |
|---|
| 1888 | | my $sys_cfg = "/etc/postfix/ispcp/domains"; |
|---|
| | 1888 | my $sys_cfg = $main::cfg{'MTA_VIRTUAL_DMN_HASH'}; |
|---|
| 1889 | 1889 | |
|---|
| 1890 | 1890 | my $working_cfg = "$working_dir/domains"; |
|---|
| r1025 |
r1095 |
|
| 380 | 380 | %main::cfg = (); |
|---|
| 381 | 381 | |
|---|
| 382 | | $main::cfg_file = '/etc/ispcp/ispcp.conf'; |
|---|
| | 382 | if(!defined($main::cfg_file)) { |
|---|
| | 383 | $main::cfg_file = '/etc/ispcp/ispcp.conf'; |
|---|
| | 384 | } |
|---|
| 383 | 385 | |
|---|
| 384 | 386 | $main::cfg_re = '^([\_A-Za-z0-9]+) *= *([^\n\r]*)[\n\r]'; |
|---|
| … | … | |
| 533 | 535 | |
|---|
| 534 | 536 | if ($rs != 0) { |
|---|
| 535 | | if( -d "/var/log/ispcp/ispcp-arpl-msgr/") { |
|---|
| 536 | | $main::ispcp_arpl_msgr_el = "/var/log/ispcp/ispcp-arpl-msgr/ispcp-arpl-msgr.el"; |
|---|
| 537 | | $main::ispcp_arpl_msgr_stdout = "/var/log/ispcp/ispcp-arpl-msgr/ispcp-arpl-msgr.stdout"; |
|---|
| 538 | | $main::ispcp_arpl_msgr_stderr = "/var/log/ispcp/ispcp-arpl-msgr/ispcp-arpl-msgr.stderr"; |
|---|
| | 537 | if( -d "$main::cfg{'LOG_DIR'}/ispcp-arpl-msgr/") { |
|---|
| | 538 | $main::ispcp_arpl_msgr_el = "$main::cfg{'LOG_DIR'}ispcp-arpl-msgr/ispcp-arpl-msgr.el"; |
|---|
| | 539 | $main::ispcp_arpl_msgr_stdout = "$main::cfg{'LOG_DIR'}/ispcp-arpl-msgr/ispcp-arpl-msgr.stdout"; |
|---|
| | 540 | $main::ispcp_arpl_msgr_stderr = "$main::cfg{'LOG_DIR'}/ispcp-arpl-msgr/ispcp-arpl-msgr.stderr"; |
|---|
| 539 | 541 | open(STDOUT, ">", $main::ispcp_arpl_msgr_stdout) || die "Can't redirect stdout"; |
|---|
| 540 | 542 | open(STDERR, ">", $main::ispcp_arpl_msgr_stderr) || die "Can't redirect stderr"; |
|---|
| r1089 |
r1095 |
|
| 44 | 44 | return $rs if ($rs != 0); |
|---|
| 45 | 45 | |
|---|
| 46 | | my $qmsg = "\tPlease enter fully qualified hostname. [$hostname]: "; |
|---|
| | 46 | my $qmsg = "\tNext your are asked to anter a "fully qualified hostname" (FQHN).\n" . |
|---|
| | 47 | "\tFor more infos read http://en.wikipedia.org/wiki/FQDN.\n\n" . |
|---|
| | 48 | "\tPlease enter fully qualified hostname. [$hostname]: "; |
|---|
| 47 | 49 | print STDOUT $qmsg; |
|---|
| 48 | 50 | |
|---|
| … | … | |
| 53 | 55 | } |
|---|
| 54 | 56 | |
|---|
| 55 | | if ($rdata =~ /^((([\w][\w-]{0,253}[\w])\.)*)([\w][\w-]{0,253}[\w])\.([a-zA-Z]{2,6})$/) { |
|---|
| | 57 | if ($rdata =~ /^(((([\w][\w-]{0,253}){0,1}[\w])\.)*)([\w][\w-]{0,253}[\w])\.([a-zA-Z]{2,6})$/) { |
|---|
| | 58 | if ($rdata =~ /^([\w][\w-]{0,253}[\w])\.([a-zA-Z]{2,6})$/) { |
|---|
| | 59 | my $wmsg = "\tWARNING: $rdata is no "fully qualified hostname". Be aware you cannot use this domain for websites."; |
|---|
| | 60 | print STDOUT $wmsg; |
|---|
| | 61 | } |
|---|
| 56 | 62 | $main::ua{'hostname'} = $rdata; |
|---|
| 57 | 63 | $main::ua{'hostname_local'} = ( ($1) ? $1 : $4); |
|---|
| r885 |
r1095 |
|
| 1 | 1 | #!/bin/bash |
|---|
| 2 | 2 | |
|---|
| 3 | | for a in `cat /etc/ispcp/ispcp.conf | grep -E '(^APACHE_WWW_DIR|^PHP_STARTER_DIR)' | sed -e 's/ //g'`; do |
|---|
| 4 | | export $a |
|---|
| 5 | | done |
|---|
| | 3 | # read needed entries from ispcp.conf |
|---|
| | 4 | if [ -f /usr/local/etc/ispcp/ispcp.conf ] |
|---|
| | 5 | then |
|---|
| | 6 | for a in `cat /usr/local/etc/ispcp/ispcp.conf | grep -E '(^APACHE_WWW_DIR|^PHP_STARTER_DIR)' | sed -e 's/ //g'`; do |
|---|
| | 7 | export $a |
|---|
| | 8 | done |
|---|
| | 9 | else |
|---|
| | 10 | for a in `cat /etc/ispcp/ispcp.conf | grep -E '(^APACHE_WWW_DIR|^PHP_STARTER_DIR)' | sed -e 's/ //g'`; do |
|---|
| | 11 | export $a |
|---|
| | 12 | done |
|---|
| | 13 | fi |
|---|
| | 14 | |
|---|
| 6 | 15 | |
|---|
| 7 | 16 | WEBDIRS=`ls -d ${APACHE_WWW_DIR}/* ` |
|---|
| r910 |
r1095 |
|
| 8 | 8 | * First Release : November 26, 2005 - TinyMCE Version : 2.0RC4 |
|---|
| 9 | 9 | * Last Updated : November 20, 2006 - TinyMCE Version : 2.0.8 |
|---|
| 10 | | */ |
|---|
| | 10 | */ |
|---|
| 11 | 11 | tinyMCE.addToLang('',{ |
|---|
| 12 | 12 | directionality_ltr_desc : 'Direcionamento da esquerda para direita', |
|---|
| r1091 |
r1095 |
|
| 175 | 175 | <h3 id="quick_install">Quick Install</h3> |
|---|
| 176 | 176 | <ol><li>Choose an appropriate distribution kit from the phpmyadmin.net |
|---|
| 177 | | Downloads page. Some kits contain only the English messages, |
|---|
| | 177 | Downloads page. Some kits contain only the English messages, |
|---|
| 178 | 178 | others contain all languages in UTF-8 format (this should be fine |
|---|
| 179 | 179 | in most situations), others contain all |
|---|
| 180 | 180 | languages and all character sets. We'll assume you chose a kit whose |
|---|
| 181 | | name looks like <tt>phpMyAdmin-x.x.x-all-languages.tar.gz</tt>. |
|---|
| | 181 | name looks like <tt>phpMyAdmin-x.x.x-all-languages.tar.gz</tt>. |
|---|
| 182 | 182 | </li> |
|---|
| 183 | 183 | <li>Untar or unzip the distribution (be sure to unzip the subdirectories): |
|---|
| … | … | |
| 195 | 195 | <li>Now you must configure your installation. There are two methods that |
|---|
| 196 | 196 | can be used. Traditionally, users have hand-edited a copy of |
|---|
| 197 | | <tt>config.inc.php</tt>, but now a wizard-style setup script is |
|---|
| 198 | | provided for those who prefer a graphical installation. Creating a |
|---|
| | 197 | <tt>config.inc.php</tt>, but now a wizard-style setup script is |
|---|
| | 198 | provided for those who prefer a graphical installation. Creating a |
|---|
| 199 | 199 | <tt>config.inc.php</tt> file is |
|---|
| 200 | 200 | still a quick way to get started and needed for some advanced features. |
|---|
| … | … | |
| 490 | 490 | <ul><li>This mode is a convenient way of using credentials from another |
|---|
| 491 | 491 | application to authenticate to phpMyAdmin.</li> |
|---|
| 492 | | <li>The other application has to store login information into |
|---|
| | 492 | <li>The other application has to store login information into |
|---|
| 493 | 493 | session data.</li> |
|---|
| 494 | 494 | <li>More details in the <a href="#cfg_Servers_auth_type">auth_type</a> |
|---|
| … | … | |
| 581 | 581 | <dt id="cfg_SuhosinDisableWarning">$cfg['SuhosinDisableWarning'] boolean</dt> |
|---|
| 582 | 582 | <dd>A warning is displayed on the main page if Suhosin is detected. |
|---|
| 583 | | You can set this parameter to <tt>TRUE</tt> to stop this message |
|---|
| | 583 | You can set this parameter to <tt>TRUE</tt> to stop this message |
|---|
| 584 | 584 | from appearing.</dd> |
|---|
| 585 | 585 | |
|---|
| … | … | |
| 703 | 703 | (<tt>$auth_type = '<abbr title="HyperText Transfer Protocol">HTTP</abbr>'</tt>) as introduced in 1.3.0 |
|---|
| 704 | 704 | allows you to log in as any valid MySQL user via HTTP-Auth.</li> |
|---|
| 705 | | <li>'signon' authentication mode |
|---|
| | 705 | <li>'signon' authentication mode |
|---|
| 706 | 706 | (<tt>$auth_type = 'signon'</tt>) |
|---|
| 707 | 707 | as introduced in 2.10.0 allows you to log in from prepared PHP |
|---|
| … | … | |
| 787 | 787 | this string will be displayed instead of the hostname in the pull-down |
|---|
| 788 | 788 | menu on the main page. This can be useful if you want to show only |
|---|
| 789 | | certain databases on your system, for example. For HTTP auth, all |
|---|
| | 789 | certain databases on your system, for example. For HTTP auth, all |
|---|
| 790 | 790 | non-US-ASCII characters will be stripped.</dd> |
|---|
| 791 | 791 | |
|---|
| … | … | |
| 984 | 984 | </dt> |
|---|
| 985 | 985 | <dd>Since release 2.10.0 a Designer interface is available; it permits |
|---|
| 986 | | to visually manage the relations. |
|---|
| | 986 | to visually manage the relations. |
|---|
| 987 | 987 | <br /><br /> |
|---|
| 988 | 988 | |
|---|
| … | … | |
| 1098 | 1098 | <dd>The maximum number of database names to be displayed in the |
|---|
| 1099 | 1099 | navigation frame and the database list.</dd> |
|---|
| 1100 | | |
|---|
| | 1100 | |
|---|
| 1101 | 1101 | <dt id="cfg_MaxTableList">$cfg['MaxTableList'] integer</dt> |
|---|
| 1102 | 1102 | <dd>The maximum number of table names to be displayed in the |
|---|
| 1103 | | main panel's list (except on the Export page). This limit is also enforced in the navigation panel |
|---|
| | 1103 | main panel's list (except on the Export page). This limit is also enforced in the navigation panel |
|---|
| 1104 | 1104 | when in Light mode.</dd> |
|---|
| 1105 | 1105 | |
|---|
| 1106 | 1106 | <dt id="cfg_MaxCharactersInDisplayedSQL">$cfg['MaxCharactersInDisplayedSQL'] integer</dt> |
|---|
| 1107 | | <dd>The maximum number of characters when a SQL query is displayed. The |
|---|
| | 1107 | <dd>The maximum number of characters when a SQL query is displayed. The |
|---|
| 1108 | 1108 | default limit of 1000 should be correct to avoid the display of tons |
|---|
| 1109 | 1109 | of hexadecimal codes that represent BLOBs, but some users have real |
|---|
| … | … | |
| 1257 | 1257 | Defaults to <tt>TRUE</tt>.</dd> |
|---|
| 1258 | 1258 | <dt id="cfg_LeftLogoLink">$cfg['LeftLogoLink'] string</dt> |
|---|
| 1259 | | <dd>Enter URL where logo in the navigation frame will point to. |
|---|
| | 1259 | <dd>Enter URL where logo in the navigation frame will point to. |
|---|
| 1260 | 1260 | For use especially with self made theme which changes this. |
|---|
| 1261 | 1261 | The default value for this is <tt>main.php</tt>.</dd> |
|---|
| … | … | |
| 1273 | 1273 | Defaults to FALSE (drop-down).</dd> |
|---|
| 1274 | 1274 | <dt id="cfg_DisplayDatabasesList">$cfg['DisplayDatabasesList'] boolean or text</dt> |
|---|
| 1275 | | <dd>Defines whether to display database choice in light navigation frame as links |
|---|
| | 1275 | <dd>Defines whether to display database choice in light navigation frame as links |
|---|
| 1276 | 1276 | instead of in a drop-down. Defaults to 'auto' - on main page list is |
|---|
| 1277 | 1277 | shown, when database is selected, only drop down is displayed.</dd> |
|---|
| … | … | |
| 1284 | 1284 | <dt><span id="cfg_ShowServerInfo">$cfg['ShowServerInfo'] </span>boolean</dt> |
|---|
| 1285 | 1285 | <dd>Defines whether to display detailed server information on main page. |
|---|
| 1286 | | You can additionally hide more information by using |
|---|
| | 1286 | You can additionally hide more information by using |
|---|
| 1287 | 1287 | <tt><a href="#cfg_Servers_verbose">$cfg['Servers'][$i]['verbose']</a></tt>. |
|---|
| 1288 | 1288 | </dd> |
|---|
| … | … | |
| 1345 | 1345 | |
|---|
| 1346 | 1346 | <dt id="cfg_ShowFunctionFields">$cfg['ShowFunctionFields'] boolean</dt> |
|---|
| 1347 | | <dd>Defines whether or not MySQL functions fields should be initially |
|---|
| | 1347 | <dd>Defines whether or not MySQL functions fields should be initially |
|---|
| 1348 | 1348 | displayed in edit/insert mode. Since version 2.10, the user can |
|---|
| 1349 | 1349 | toggle this setting from the interface. |
|---|
| … | … | |
| 1511 | 1511 | want to use rules for IP addresses behind proxy.<br /><br /> |
|---|
| 1512 | 1512 | |
|---|
| 1513 | | The following example specifies that phpMyAdmin should trust a |
|---|
| | 1513 | The following example specifies that phpMyAdmin should trust a |
|---|
| 1514 | 1514 | HTTP_X_FORWARDED_FOR (<tt>X-Forwarded-For</tt>) header coming from the proxy 1.2.3.4: |
|---|
| 1515 | 1515 | <pre> |
|---|
| … | … | |
| 1517 | 1517 | array('1.2.3.4' => 'HTTP_X_FORWARDED_FOR'); |
|---|
| 1518 | 1518 | </pre> |
|---|
| 1519 | | The $cfg['Servers'][$i]['AllowDeny']['rules'] directive uses the |
|---|
| | 1519 | The $cfg['Servers'][$i]['AllowDeny']['rules'] directive uses the |
|---|
| 1520 | 1520 | client's IP address as usual. |
|---|
| 1521 | 1521 | </dd> |
|---|
| … | … | |
| 1729 | 1729 | with username.<br /><br /> |
|---|
| 1730 | 1730 | |
|---|
| 1731 | | Please note that the directory must exist and has to be writable |
|---|
| | 1731 | Please note that the directory must exist and has to be writable |
|---|
| 1732 | 1732 | for the user running the webserver.<br /><br /> |
|---|
| 1733 | 1733 | |
|---|
| … | … | |
| 1836 | 1836 | <dd>For VIEWs, since obtaining the exact count could have an |
|---|
| 1837 | 1837 | impact on performance, this value is the maximum to be displayed, using |
|---|
| 1838 | | a <code>SELECT COUNT ... LIMIT</code>. The default value of 0 bypasses |
|---|
| | 1838 | a <code>SELECT COUNT ... LIMIT</code>. The default value of 0 bypasses |
|---|
| 1839 | 1839 | any row counting. |
|---|
| 1840 | 1840 | </dd> |
|---|
| … | … | |
| 2802 | 2802 | <a href="#faq1_38">1.38 Can I use phpMyAdmin on a server on which Suhosin is enabled?</a></h4> |
|---|
| 2803 | 2803 | |
|---|
| 2804 | | <p> Yes but the default configuration values of Suhosin are known to cause |
|---|
| | 2804 | <p> Yes but the default configuration values of Suhosin are known to cause |
|---|
| 2805 | 2805 | problems with some operations, for example editing a table with many |
|---|
| 2806 | | columns and no primary key. Tuning information is available at |
|---|
| | 2806 | columns and no primary key. Tuning information is available at |
|---|
| 2807 | 2807 | <a href="http://www.hardened-php.net/hphp/troubleshooting.html"> |
|---|
| 2808 | 2808 | http://www.hardened-php.net/hphp/troubleshooting.html</a>, |
|---|
| … | … | |
| 2981 | 2981 | of ";" will cause this error. Replace it with "&;". |
|---|
| 2982 | 2982 | </li> |
|---|
| 2983 | | <li>If you are using <a href="http://www.hardened-php.net/">Hardened-PHP</a>, |
|---|
| 2984 | | you might want to increase |
|---|
| | 2983 | <li>If you are using <a href="http://www.hardened-php.net/">Hardened-PHP</a>, |
|---|
| | 2984 | you might want to increase |
|---|
| 2985 | 2985 | <a href="http://www.hardened-php.net/hphp/troubleshooting.html">request limits</a>. |
|---|
| 2986 | 2986 | </li> |
|---|
|