Changeset 657

Show
Ignore:
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
  • trunk/CHANGELOG

    r656 r657  
    1212 
    13132007-06-17 Benedikt Heintel 
     14        - CONFIGS: 
     15                * Fixed: FastCGI config missing </IfModule> 
     16        - GUI: 
     17                * Fixed #405: reload.gif instead of reload.png 
    1418        - SETUP: 
    1519                * Fixed: error on install; PHP Version was not asked 
     
    4650                * Removed hard-coded phptmp dir being set on PMA's config.inc.php 
    4751                * Uninstaller now restores the resolver 
    48         - DOCS 
     52        - DOCS: 
    4953                * Fixed #398: error in Ubuntu list of packages to install 
    5054 
  • trunk/configs/apache/fastcgi.conf

    r656 r657  
    2626 
    2727<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 
    3535 
    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} 
    3737 
    38 
    39 # PHP{PHP_VERSION} SUPPORT 
    40 
     38       
     39       # PHP{PHP_VERSION} SUPPORT 
     40       
    4141 
    42 AddHandler php-fastcgi .php .php{PHP_VERSION} 
     42       AddHandler php-fastcgi .php .php{PHP_VERSION} 
    4343 
    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> 
    4848 
    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> 
  • trunk/configs/apache/fastcgi2.conf

    r656 r657  
    2626 
    2727<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 
    3535 
    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} 
    3737 
    38 
    39 # PHP{PHP_VERSION} SUPPORT 
    40 
     38       
     39       # PHP{PHP_VERSION} SUPPORT 
     40       
    4141 
    42 AddHandler php-fastcgi .php .php{PHP_VERSION} 
     42       AddHandler php-fastcgi .php .php{PHP_VERSION} 
    4343 
    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> 
    4848 
    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> 
  • trunk/configs/dists/fedora/apache/fastcgi.conf

    r473 r657  
    2424 
    2525<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 
    3333 
    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} 
    3535 
    36 
    37 # PHP4 SUPPORT 
    38 
     36       
     37       # PHP{PHP_VERSION} SUPPORT 
     38       
    3939 
    40 AddHandler php-fastcgi .php 
     40        AddHandler php-fastcgi .php .php{PHP_VERSION} 
    4141 
    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> 
    4646 
    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} 
    6249</IfModule> 
  • trunk/configs/dists/gentoo/apache/fastcgi.conf

    r473 r657  
    2323# 
    2424# @TODO : 
    25 # - Finish PHP5 Support 
    2625# - Finish config Fastcgi 
    2726<IfDefine FCGID> 
  • trunk/gui/include/admin-functions.php

    r653 r657  
    843843                if ($rs -> fields['domain_status'] == $cfg['ITEM_OK_STATUS']) 
    844844                { 
    845                                 $status_icon = "ok.gif"; 
     845                                $status_icon = "ok.png"; 
    846846                                $status_url = "change_status.php?domain_id=".$rs -> fields['domain_id']; 
    847847 
    848848                } else if ($rs -> fields['domain_status'] == $cfg['ITEM_DISABLED_STATUS']) { 
    849849 
    850                                 $status_icon = "disabled.gif"; 
     850                                $status_icon = "disabled.png"; 
    851851                                $status_url = "change_status.php?domain_id=".$rs -> fields['domain_id']; 
    852852 
     
    859859                                        $rs -> fields['domain_status'] == $cfg['ITEM_DELETE_STATUS']){ 
    860860 
    861                                 $status_icon = "reload.gif"; 
     861                                $status_icon = "reload.png"; 
    862862                                $status_url = "#"; 
    863863 
     
    865865                }else { 
    866866 
    867                                 $status_icon = "error.gif"; 
     867                                $status_icon = "error.png"; 
    868868                                $status_url = "domain_details.php?domain_id=".$rs -> fields['domain_id']; 
    869869 
  • trunk/gui/reseller/users.php

    r645 r657  
    358358                        if ($rs -> fields['domain_status'] == $cfg['ITEM_OK_STATUS']){ 
    359359 
    360                                 $status_icon = "ok.gif"; 
     360                                $status_icon = "ok.png"; 
    361361 
    362362                        } else if ($rs -> fields['domain_status'] == $cfg['ITEM_DISABLED_STATUS']) { 
    363363 
    364                                 $status_icon = "disabled.gif"; 
     364                                $status_icon = "disabled.png"; 
    365365 
    366366                        } else if ($rs -> fields['domain_status'] == $cfg['ITEM_ADD_STATUS'] || 
     
    371371                                           $rs -> fields['domain_status'] == $cfg['ITEM_DELETE_STATUS']) { 
    372372 
    373                                 $status_icon = "reload.gif"; 
     373                                $status_icon = "reload.png"; 
    374374 
    375375 
    376376                        } else { 
    377377 
    378                                 $status_icon = "error.gif"; 
     378                                $status_icon = "error.png"; 
    379379 
    380380                        }