Changeset 11238

Show
Ignore:
Timestamp:
08/19/08 15:07:43 (5 months ago)
Author:
/C=ES/O=Warp Networks S.L./CN=ejhernandez@…
Message:

Added includes parameter to Apache configuration refs #1103

Location:
branches/remote-services/ebox
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/remote-services/ebox/src/EBox/Apache.pm

    r11234 r11238  
    175175        push @confFileParams, ( tmpdir => EBox::Config::tmp()); 
    176176        push @confFileParams, ( restrictedResources => $self->_restrictedResources() ); 
     177        push @confFileParams, ( includes => $self->_includes() ); 
    177178 
    178179        my $debugMode =  EBox::Config::configkey('debug') eq 'yes'; 
  • branches/remote-services/ebox/stubs/apache.mas.in

    r11199 r11238  
    1818                - name - String the resource name 
    1919                - type - String the resource type. Options: file, directory or location. 
     20   includes - Array containing those file includes we want to add 
     21              this Apache configuration 
    2022</%doc> 
    2123<%args> 
     
    2729        $debug => 'no' 
    2830        @restrictedResources => () 
     31        @includes => () 
    2932</%args> 
    3033 
     
    141144% } 
    142145 
     146% foreach my $includeFile (@includes) { 
     147Include <% $includeFile %> 
     148% } 
    143149 
    144150UseCanonicalName Off