Changeset 249

Show
Ignore:
Timestamp:
04/02/2005 01:46:14 PM (4 years ago)
Author:
jan
Message:

plural for the option name if it is an array

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/lighttpd.conf

    r231 r249  
    126126# 
    127127# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi 
    128 static-file.exclude-extension = ( ".php", ".pl", ".fcgi" ) 
     128static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) 
    129129 
    130130######### Options that are good to be but not neccesary to be changed ####### 
  • trunk/src/mod_staticfile.c

    r242 r249  
    8282         
    8383        config_values_t cv[] = {  
    84                 { "static-file.exclude-extension", NULL, T_CONFIG_ARRAY, T_CONFIG_SCOPE_CONNECTION },       /* 0 */ 
     84                { "static-file.exclude-extensions", NULL, T_CONFIG_ARRAY, T_CONFIG_SCOPE_CONNECTION },       /* 0 */ 
    8585                { NULL,                         NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET } 
    8686        }; 
     
    128128                        data_unset *du = dc->value->data[j]; 
    129129                         
    130                         if (buffer_is_equal_string(du->key, CONST_STR_LEN("static-file.exclude-extension"))) { 
     130                        if (buffer_is_equal_string(du->key, CONST_STR_LEN("static-file.exclude-extensions"))) { 
    131131                                PATCH(exclude_ext); 
    132132                        }