Changeset 301

Show
Ignore:
Timestamp:
02/06/07 17:07:43 (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/configs/apache/httpd.conf

    r300 r301  
    11# httpd Data BEGIN. 
    2 NameVirtualHost * 
     2 
    33# 
    44# wget-hack prevention 
    55# 
     6 
    67<IfModule mod_rewrite.c> 
    78    RewriteEngine on 
     
    910    RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] 
    1011</IfModule> 
     12 
    1113# 
    1214# Web traffic accounting. 
     
    4042</Directory> 
    4143 
     44<IfModule mod_fastcgi.c> 
    4245# GLOBAL VHCS PHP-CGI (Just for vhcs) 
    4346# The php.ini for this is in /etc/php4/cgi 
     
    5356   Allow from all 
    5457</Directory> 
     58</IfModule> 
    5559 
    5660# 
     
    6872        Allow from all 
    6973    </Directory> 
    70         
     74 
     75      <IfModule mod_fastcgi.c> 
    7176        Action default-vhcs /default-vhcs/php 
    7277        AddHandler default-vhcs .php 
    7378        AddType application/x-httpd-default-vhcs .php 
     79      </IfModule> 
    7480 
    7581</VirtualHost> 
  • trunk/configs/apache/parts/vhcs2_base.tpl

    r300 r301  
    11# httpd Data BEGIN. 
    2 NameVirtualHost * 
     2 
    33# 
    44# wget-hack prevention 
    55# 
     6 
    67<IfModule mod_rewrite.c> 
    78    RewriteEngine on 
     
    910    RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] 
    1011</IfModule> 
     12 
    1113# 
    1214# Web traffic accounting. 
     
    4042</Directory> 
    4143 
     44<IfModule mod_fastcgi.c> 
    4245# GLOBAL VHCS PHP-CGI (Just for vhcs) 
    4346# The php.ini for this is in /etc/php4/cgi 
     
    5356   Allow from all 
    5457</Directory> 
     58</IfModule> 
    5559 
    5660# 
     
    6872        Allow from all 
    6973    </Directory> 
    70         
     74 
     75      <IfModule mod_fastcgi.c> 
    7176        Action default-vhcs /default-vhcs/php 
    7277        AddHandler default-vhcs .php 
    7378        AddType application/x-httpd-default-vhcs .php 
     79      </IfModule> 
    7480 
    7581</VirtualHost>