Changeset 657
- Timestamp:
- 06/17/07 18:53:37
(1 year ago)
- Author:
- rats
- Message:
* Fixed: FastCGI config missing </IfModule>
- Fixed #405: reload.gif instead of reload.png
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r656 |
r657 |
|
| 12 | 12 | |
|---|
| 13 | 13 | 2007-06-17 Benedikt Heintel |
|---|
| | 14 | - CONFIGS: |
|---|
| | 15 | * Fixed: FastCGI config missing </IfModule> |
|---|
| | 16 | - GUI: |
|---|
| | 17 | * Fixed #405: reload.gif instead of reload.png |
|---|
| 14 | 18 | - SETUP: |
|---|
| 15 | 19 | * Fixed: error on install; PHP Version was not asked |
|---|
| … | … | |
| 46 | 50 | * Removed hard-coded phptmp dir being set on PMA's config.inc.php |
|---|
| 47 | 51 | * Uninstaller now restores the resolver |
|---|
| 48 | | - DOCS |
|---|
| | 52 | - DOCS: |
|---|
| 49 | 53 | * Fixed #398: error in Ubuntu list of packages to install |
|---|
| 50 | 54 | |
|---|
| r656 |
r657 |
|
| 26 | 26 | |
|---|
| 27 | 27 | <IfModule mod_fastcgi.c> |
|---|
| 28 | | FastCgiWrapper On |
|---|
| 29 | | FastCgiIpcDir /var/lib/apache2/fastcgi |
|---|
| 30 | | FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 |
|---|
| 31 | | #-killInterval 300 \ |
|---|
| 32 | | #-autoUpdate \ |
|---|
| 33 | | #-idle-timeout 240 \ |
|---|
| 34 | | #-pass-header HTTP_AUTHORIZATION |
|---|
| | 28 | FastCgiWrapper On |
|---|
| | 29 | FastCgiIpcDir /var/lib/apache2/fastcgi |
|---|
| | 30 | FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 |
|---|
| | 31 | #-killInterval 300 \ |
|---|
| | 32 | #-autoUpdate \ |
|---|
| | 33 | #-idle-timeout 240 \ |
|---|
| | 34 | #-pass-header HTTP_AUTHORIZATION |
|---|
| 35 | 35 | |
|---|
| 36 | | FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} |
|---|
| | 36 | FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} |
|---|
| 37 | 37 | |
|---|
| 38 | | # |
|---|
| 39 | | # PHP{PHP_VERSION} SUPPORT |
|---|
| 40 | | # |
|---|
| | 38 | # |
|---|
| | 39 | # PHP{PHP_VERSION} SUPPORT |
|---|
| | 40 | # |
|---|
| 41 | 41 | |
|---|
| 42 | | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| | 42 | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| 43 | 43 | |
|---|
| 44 | | <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> |
|---|
| 45 | | SetHandler fastcgi-script |
|---|
| 46 | | Options +ExecCGI |
|---|
| 47 | | </Location> |
|---|
| | 44 | <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> |
|---|
| | 45 | SetHandler fastcgi-script |
|---|
| | 46 | Options +ExecCGI |
|---|
| | 47 | </Location> |
|---|
| 48 | 48 | |
|---|
| 49 | | Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter |
|---|
| 50 | | AddType application/x-httpd-php .php .php{PHP_VERSION} |
|---|
| | 49 | Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter |
|---|
| | 50 | AddType application/x-httpd-php .php .php{PHP_VERSION} |
|---|
| | 51 | </IfModule> |
|---|
| r656 |
r657 |
|
| 26 | 26 | |
|---|
| 27 | 27 | <IfModule mod_fastcgi.c> |
|---|
| 28 | | FastCgiWrapper On |
|---|
| 29 | | FastCgiIpcDir /var/lib/apache2/fastcgi2 |
|---|
| 30 | | FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 |
|---|
| 31 | | #-killInterval 300 \ |
|---|
| 32 | | #-autoUpdate \ |
|---|
| 33 | | #-idle-timeout 240 \ |
|---|
| 34 | | #-pass-header HTTP_AUTHORIZATION |
|---|
| | 28 | FastCgiWrapper On |
|---|
| | 29 | FastCgiIpcDir /var/lib/apache2/fastcgi2 |
|---|
| | 30 | FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 |
|---|
| | 31 | #-killInterval 300 \ |
|---|
| | 32 | #-autoUpdate \ |
|---|
| | 33 | #-idle-timeout 240 \ |
|---|
| | 34 | #-pass-header HTTP_AUTHORIZATION |
|---|
| 35 | 35 | |
|---|
| 36 | | FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} |
|---|
| | 36 | FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} |
|---|
| 37 | 37 | |
|---|
| 38 | | # |
|---|
| 39 | | # PHP{PHP_VERSION} SUPPORT |
|---|
| 40 | | # |
|---|
| | 38 | # |
|---|
| | 39 | # PHP{PHP_VERSION} SUPPORT |
|---|
| | 40 | # |
|---|
| 41 | 41 | |
|---|
| 42 | | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| | 42 | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| 43 | 43 | |
|---|
| 44 | | <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> |
|---|
| 45 | | SetHandler fastcgi-script |
|---|
| 46 | | Options +ExecCGI |
|---|
| 47 | | </Location> |
|---|
| | 44 | <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> |
|---|
| | 45 | SetHandler fastcgi-script |
|---|
| | 46 | Options +ExecCGI |
|---|
| | 47 | </Location> |
|---|
| 48 | 48 | |
|---|
| 49 | | Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter |
|---|
| 50 | | AddType application/x-httpd-php .php .php{PHP_VERSION} |
|---|
| | 49 | Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter |
|---|
| | 50 | AddType application/x-httpd-php .php .php{PHP_VERSION} |
|---|
| | 51 | </IfModule> |
|---|
| r473 |
r657 |
|
| 24 | 24 | |
|---|
| 25 | 25 | <IfModule mod_fastcgi.c> |
|---|
| 26 | | FastCgiWrapper On |
|---|
| 27 | | FastCgiIpcDir /srv/lib/apache2/fastcgi |
|---|
| 28 | | FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 |
|---|
| 29 | | #-killInterval 300 \ |
|---|
| 30 | | #-autoUpdate \ |
|---|
| 31 | | #-idle-timeout 240 \ |
|---|
| 32 | | #-pass-header HTTP_AUTHORIZATION |
|---|
| | 26 | FastCgiWrapper On |
|---|
| | 27 | FastCgiIpcDir /var/lib/apache2/fastcgi |
|---|
| | 28 | FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 |
|---|
| | 29 | #-killInterval 300 \ |
|---|
| | 30 | #-autoUpdate \ |
|---|
| | 31 | #-idle-timeout 240 \ |
|---|
| | 32 | #-pass-header HTTP_AUTHORIZATION |
|---|
| 33 | 33 | |
|---|
| 34 | | FastCgiServer {PHP_STARTER_DIR}/master/php4-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} |
|---|
| | 34 | FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} |
|---|
| 35 | 35 | |
|---|
| 36 | | # |
|---|
| 37 | | # PHP4 SUPPORT |
|---|
| 38 | | # |
|---|
| | 36 | # |
|---|
| | 37 | # PHP{PHP_VERSION} SUPPORT |
|---|
| | 38 | # |
|---|
| 39 | 39 | |
|---|
| 40 | | AddHandler php-fastcgi .php |
|---|
| | 40 | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| 41 | 41 | |
|---|
| 42 | | <Location /php4/php4-fcgi-starter> |
|---|
| 43 | | SetHandler fastcgi-script |
|---|
| 44 | | Options +ExecCGI |
|---|
| 45 | | </Location> |
|---|
| | 42 | <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> |
|---|
| | 43 | SetHandler fastcgi-script |
|---|
| | 44 | Options +ExecCGI |
|---|
| | 45 | </Location> |
|---|
| 46 | 46 | |
|---|
| 47 | | Action php-fastcgi /php4/php4-fcgi-starter |
|---|
| 48 | | AddType application/x-httpd-php .php |
|---|
| 49 | | |
|---|
| 50 | | # |
|---|
| 51 | | # PHP5 SUPPORT |
|---|
| 52 | | # |
|---|
| 53 | | |
|---|
| 54 | | #AddHandler php5-fastcgi .php5 |
|---|
| 55 | | |
|---|
| 56 | | #<Location /php5/php5-fcgi-starter> |
|---|
| 57 | | # SetHandler fastcgi-script |
|---|
| 58 | | # Options +ExecCGI |
|---|
| 59 | | #</Location> |
|---|
| 60 | | |
|---|
| 61 | | #Action php5-fastcgi /php5/php5-fcgi-starter |
|---|
| | 47 | Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter |
|---|
| | 48 | AddType application/x-httpd-php .php .php{PHP_VERSION} |
|---|
| 62 | 49 | </IfModule> |
|---|
| r473 |
r657 |
|
| 23 | 23 | # |
|---|
| 24 | 24 | # @TODO : |
|---|
| 25 | | # - Finish PHP5 Support |
|---|
| 26 | 25 | # - Finish config Fastcgi |
|---|
| 27 | 26 | <IfDefine FCGID> |
|---|
| r653 |
r657 |
|
| 843 | 843 | if ($rs -> fields['domain_status'] == $cfg['ITEM_OK_STATUS']) |
|---|
| 844 | 844 | { |
|---|
| 845 | | $status_icon = "ok.gif"; |
|---|
| | 845 | $status_icon = "ok.png"; |
|---|
| 846 | 846 | $status_url = "change_status.php?domain_id=".$rs -> fields['domain_id']; |
|---|
| 847 | 847 | |
|---|
| 848 | 848 | } else if ($rs -> fields['domain_status'] == $cfg['ITEM_DISABLED_STATUS']) { |
|---|
| 849 | 849 | |
|---|
| 850 | | $status_icon = "disabled.gif"; |
|---|
| | 850 | $status_icon = "disabled.png"; |
|---|
| 851 | 851 | $status_url = "change_status.php?domain_id=".$rs -> fields['domain_id']; |
|---|
| 852 | 852 | |
|---|
| … | … | |
| 859 | 859 | $rs -> fields['domain_status'] == $cfg['ITEM_DELETE_STATUS']){ |
|---|
| 860 | 860 | |
|---|
| 861 | | $status_icon = "reload.gif"; |
|---|
| | 861 | $status_icon = "reload.png"; |
|---|
| 862 | 862 | $status_url = "#"; |
|---|
| 863 | 863 | |
|---|
| … | … | |
| 865 | 865 | }else { |
|---|
| 866 | 866 | |
|---|
| 867 | | $status_icon = "error.gif"; |
|---|
| | 867 | $status_icon = "error.png"; |
|---|
| 868 | 868 | $status_url = "domain_details.php?domain_id=".$rs -> fields['domain_id']; |
|---|
| 869 | 869 | |
|---|
| r645 |
r657 |
|
| 358 | 358 | if ($rs -> fields['domain_status'] == $cfg['ITEM_OK_STATUS']){ |
|---|
| 359 | 359 | |
|---|
| 360 | | $status_icon = "ok.gif"; |
|---|
| | 360 | $status_icon = "ok.png"; |
|---|
| 361 | 361 | |
|---|
| 362 | 362 | } else if ($rs -> fields['domain_status'] == $cfg['ITEM_DISABLED_STATUS']) { |
|---|
| 363 | 363 | |
|---|
| 364 | | $status_icon = "disabled.gif"; |
|---|
| | 364 | $status_icon = "disabled.png"; |
|---|
| 365 | 365 | |
|---|
| 366 | 366 | } else if ($rs -> fields['domain_status'] == $cfg['ITEM_ADD_STATUS'] || |
|---|
| … | … | |
| 371 | 371 | $rs -> fields['domain_status'] == $cfg['ITEM_DELETE_STATUS']) { |
|---|
| 372 | 372 | |
|---|
| 373 | | $status_icon = "reload.gif"; |
|---|
| | 373 | $status_icon = "reload.png"; |
|---|
| 374 | 374 | |
|---|
| 375 | 375 | |
|---|
| 376 | 376 | } else { |
|---|
| 377 | 377 | |
|---|
| 378 | | $status_icon = "error.gif"; |
|---|
| | 378 | $status_icon = "error.png"; |
|---|
| 379 | 379 | |
|---|
| 380 | 380 | } |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>