Changeset 231

Show
Ignore:
Timestamp:
03/28/2005 10:37:49 AM (3 years ago)
Author:
jan
Message:

update the default config and renamed server.force-lowercase-filenames

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/lighttpd.conf

    r219 r231  
    11# lighttpd configuration file 
    22# 
    3 # use a it as base for lighttpd 1.0.0 and above 
     3# use a it as base for lighttpd 1.4.0 and above 
    44# 
    55# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $ 
     
    4747 
    4848# files to check for if .../ is requested 
    49 server.indexfiles           = ( "index.php", "index.html", 
     49index-file.extensions       = ( "index.php", "index.html", 
    5050                                "index.htm", "default.htm" ) 
    5151 
     
    122122 
    123123 
     124## 
     125# which extensions should not be handle via static-file transfer 
     126# 
     127# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi 
     128static-file.exclude-extension = ( ".php", ".pl", ".fcgi" ) 
    124129 
    125130######### Options that are good to be but not neccesary to be changed ####### 
     
    138143#server.pid-file            = "/var/run/lighttpd.pid" 
    139144 
     145## force all physical filenames to be lower-cased before they are checked 
     146# 
     147# this option is enabled by default in MacOSX and Windows as FAT, HPFS and NTFS 
     148# can't distinguish between upper and lower-case 
     149#server.force-lowercase-filenames = "enable" 
    140150 
    141151###### virtual hosts 
     
    160170 
    161171## virtual directory listings 
    162 #server.dir-listing         = "enable" 
     172#dir-listing.activate       = "enable" 
    163173 
    164174## enable debugging 
  • trunk/src/config.c

    r222 r231  
    7070                { "debug.log-request-header-on-error", NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_SERVER }, /* 36 */ 
    7171                { "server.close-stderr",         NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_SERVER },     /* 37 */ 
    72                 { "server.force-lower-case-files", NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_SERVER },   /* 38 */ 
     72                { "server.force-lowercase-filenames", NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_SERVER },   /* 38 */ 
    7373                 
    7474                { "server.host",                 "use server.bind instead", T_CONFIG_DEPRECATED, T_CONFIG_SCOPE_UNSET }, 
     
    267267                        } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("debug.log-file-not-found"))) { 
    268268                                PATCH(log_file_not_found); 
    269                         } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("server.force-lower-case-files"))) { 
     269                        } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("server.force-lowercase-filenames"))) { 
    270270                                PATCH(force_lower_case); 
    271271                        } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("server.protocol-http11"))) {