Changeset 300

Show
Ignore:
Timestamp:
02/06/07 16:58:50 (2 years ago)
Author:
nuxwin
Message:

- CONFIGS:

  • Edit "httpd.conf" and "vhcs2.base.tpl"
    => added Handler "default-vhcs" (for vhcs working)
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r293 r300  
    11VHCS 2.4.8 ω Omega Changelog 
    22~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    3  ____________________________________________________________ 
    4 / @TODO:                                                     \ 
    5 |       - FastCGI:                                               | 
    6 |               * Copy files on update                               | 
    7 |               * apache: check if stats are working with FastCGI    | 
    8 |       - AWStats:                                               | 
    9 |               * apache: set statsdir if awstats is enabled         | 
    10 |               * gui: disable stats-alias in client menu            | 
    11 \____________________________________________________________/ 
    12  
     3 _________________________________________________________________ 
     4/ @TODO:                                                        \ 
     5|       - FastCGI:                                                  | 
     6|               * Copy files on update                                          | 
     7|               * apache: check if stats are working with FastCGI       | 
     8|                                                                                       | 
     9|               * Fixed path default-vhcs php.ini                               | 
     10|           * Fixed name php.ini fot fcgi and other                     |             
     11|                                                                                       | 
     12|       - AWStats:                                                                      | 
     13|               * apache: set statsdir if awstats is enabled            | 
     14|               * gui: disable stats-alias in client menu                       | 
     15\_________________________________________________________________/ 
     16 
     172007-02-06 Laurent DECLERCQ 
     18                - CONFIGS: 
     19                        - Edit "httpd.conf" and "vhcs2.base.tpl" 
     20                        => added Handler "default-vhcs" (for vhcs working) 
     21  
    13222007-02-05 Benedikt Heintel 
    1423        - GUI: 
  • trunk/configs/apache/httpd.conf

    r292 r300  
    11# httpd Data BEGIN. 
    2  
     2NameVirtualHost * 
    33# 
    44# wget-hack prevention 
     
    2828 
    2929<Directory /var/www/vhcs2/gui/tools/filemanager> 
    30     <IfModule mod_php.c> 
     30    <IfModule mod_php4.c> 
    3131        php_flag register_globals On 
    3232        php_admin_value open_basedir "/var/www/vhcs2/gui/tools/filemanager/:/tmp/:/usr/share/php/" 
     
    3838    AllowOverride none  
    3939    Options MultiViews IncludesNoExec FollowSymLinks 
     40</Directory> 
     41 
     42# GLOBAL VHCS PHP-CGI (Just for vhcs) 
     43# The php.ini for this is in /etc/php4/cgi 
     44# TODO : Fixed path in default php.ini 
     45 
     46 
     47ScriptAlias /default-vhcs /usr/lib/cgi-bin/ 
     48 
     49<Directory /usr/lib/cgi-bin> 
     50   Options +ExecCGI +FollowSymLinks 
     51   AllowOverride all 
     52   Order allow,deny 
     53   Allow from all 
    4054</Directory> 
    4155 
     
    5468        Allow from all 
    5569    </Directory> 
     70        
     71        Action default-vhcs /default-vhcs/php 
     72        AddHandler default-vhcs .php 
     73        AddType application/x-httpd-default-vhcs .php 
    5674 
    5775</VirtualHost> 
  • trunk/configs/apache/parts/vhcs2_base.tpl

    r292 r300  
    11# httpd Data BEGIN. 
    2  
     2NameVirtualHost * 
    33# 
    44# wget-hack prevention 
     
    3636Alias /vhcs_images /var/www/vhcs2/gui/images 
    3737<Directory /var/www/vhcs2/gui/images> 
    38     AllowOverride none 
     38    AllowOverride none  
    3939    Options MultiViews IncludesNoExec FollowSymLinks 
     40</Directory> 
     41 
     42# GLOBAL VHCS PHP-CGI (Just for vhcs) 
     43# The php.ini for this is in /etc/php4/cgi 
     44# TODO : Fixed path in default php.ini 
     45 
     46 
     47ScriptAlias /default-vhcs /usr/lib/cgi-bin/ 
     48 
     49<Directory /usr/lib/cgi-bin> 
     50   Options +ExecCGI +FollowSymLinks 
     51   AllowOverride all 
     52   Order allow,deny 
     53   Allow from all 
    4054</Directory> 
    4155 
     
    4458# 
    4559 
    46 <VirtualHost _default_:*> 
     60<VirtualHost _default_:*>  
    4761 
    4862    DocumentRoot /var/www/vhcs2/gui 
     
    5468        Allow from all 
    5569    </Directory> 
     70        
     71        Action default-vhcs /default-vhcs/php 
     72        AddHandler default-vhcs .php 
     73        AddType application/x-httpd-default-vhcs .php 
    5674 
    5775</VirtualHost> 
    5876 
    59  
    6077# 
    61 # AWStats-Alias 
     78# AWStats 
    6279# 
    6380 
     
    6683Alias /awstatsicons "/var/www/awstats/icon/" 
    6784Alias /awstatsjs "/var/www/awstats/js/" 
    68 ScriptAlias /stats "/usr/lib/cgi-bin/awstats/awstats.pl
     85Alias /stats "/usr/lib/cgi-bin/awstats/
    6986 
    7087<Directory /usr/lib/cgi-bin/awstats> 
    71     AllowOverride none 
    72     Options Indexes Includes FollowSymLinks MultiViews 
    73     Order allow,deny 
     88    AllowOverride AuthConfig 
     89    Options -Includes FollowSymLinks +ExecCGI MultiViews 
     90    AddHandler cgi-script cgi pl 
     91    DirectoryIndex awstats.pl 
     92    Order deny,allow 
    7493    Allow from all 
    7594</Directory>