Browse Source

fixed typos (fixes #474)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@968 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 17 years ago
parent
commit
d0cbebef19
  1. 11
      doc/configuration.txt
  2. 4
      src/configfile.c

11
doc/configuration.txt

@ -54,7 +54,7 @@ Example
# variables, computed when config is read.
var.mymodule = "foo"
server.modules += ( "mod_" + var.mymodule )
var.PID is initized to the pid of lighttpd before config is parsed
# var.PID is initialised to the pid of lighttpd before config is parsed
# include, relative to dirname of main config file
include "mime.types.conf"
@ -232,6 +232,11 @@ server.port
server.use-ipv6
bind to the IPv6 socket
server.tag
set the string returned by the Server: response header
Default: lighttpd <current-version>
server.errorlog
pathname of the error-log
@ -246,6 +251,8 @@ server.errorlog-use-syslog
server.chroot
root-directory of the server
NOTE: requires root-permissions
server.username
username used to run the server
@ -321,7 +328,7 @@ server.modules
Starting with lighttpd 1.4.0 three default modules are loaded automaticly:
- mod_indexfiles
- mod_indexfile
- mod_dirlisting
- mod_staticfile

4
src/configfile.c

@ -449,7 +449,7 @@ static int config_tokenizer(server *srv, tokenizer_t *t, int *token_id, buffer *
log_error_write(srv, __FILE__, __LINE__, "sbsdsds",
"source:", t->source,
"line:", t->line, "pos:", t->line_pos,
"only =~ and == are allow in the condition");
"only =~ and == are allowed in the condition");
return -1;
}
t->in_key = 1;
@ -488,7 +488,7 @@ static int config_tokenizer(server *srv, tokenizer_t *t, int *token_id, buffer *
log_error_write(srv, __FILE__, __LINE__, "sbsdsds",
"source:", t->source,
"line:", t->line, "pos:", t->line_pos,
"only !~ and != are allow in the condition");
"only !~ and != are allowed in the condition");
return -1;
}
t->in_key = 1;

Loading…
Cancel
Save