Changeset 251

Show
Ignore:
Timestamp:
04/03/2005 09:04:08 AM (3 years ago)
Author:
jan
Message:

changed index-file.extensions to index-file.names

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/UPGRADING-1.4.0.txt

    r250 r251  
    1111   server.modules = ( ..., "mod_indexfile", ... ) 
    1212    
    13    index-file.extensions = ( "index.html", "index.html" ) 
     13   index-file.names = ( "index.html", "index.php" ) 
    1414    
    15152. directory listings are handled by mod_dirlisting now 
  • trunk/doc/lighttpd.conf

    r249 r251  
    4747 
    4848# files to check for if .../ is requested 
    49 index-file.extensions       = ( "index.php", "index.html", 
     49index-file.names            = ( "index.php", "index.html", 
    5050                                "index.htm", "default.htm" ) 
    5151 
  • trunk/src/mod_indexfile.c

    r186 r251  
    8989         
    9090        config_values_t cv[] = {  
    91                 { "index-file.extensions",       NULL, T_CONFIG_ARRAY, T_CONFIG_SCOPE_CONNECTION },       /* 0 */ 
     91                { "index-file.names",       NULL, T_CONFIG_ARRAY, T_CONFIG_SCOPE_CONNECTION },       /* 0 */ 
    9292                { NULL,                         NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET } 
    9393        }; 
     
    135135                        data_unset *du = dc->value->data[j]; 
    136136                         
    137                         if (buffer_is_equal_string(du->key, CONST_STR_LEN("index-file.extensions"))) { 
     137                        if (buffer_is_equal_string(du->key, CONST_STR_LEN("index-file.names"))) { 
    138138                                PATCH(indexfiles); 
    139139                        }