Commit Graph

28 Commits (faa4d51ede89ccaecda44251f5a88ddfa29eb27e)

Author SHA1 Message Date
Jan Kneschke d8394f7f2e moved code to mod_staticfile, mod_dirlisting and mod_indexfile
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@541 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-15 09:55:23 +00:00
Jan Kneschke 75c3a8393a added include_shell option to configfiles (merged the rest of the trunk changesets)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-09 06:42:33 +00:00
Jan Kneschke 360aba360f allow _ in env. and var. and optimized matching of conditions
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@529 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 17:25:55 +00:00
Jan Kneschke 6adaad5458 let mod_alias handle directories and files (merged [284], [294])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@504 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 09:42:27 +00:00
Jan Kneschke 5e134da075 dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@502 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 08:22:06 +00:00
Jan Kneschke 8f1558e1bb Content-Length only works if Transfer-Encoding is not set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@487 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-31 10:15:15 +00:00
Jan Kneschke 6d4a508763 added a switch to disable range requests, this doesn't fix #171 but is a workaround
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@482 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-28 21:05:16 +00:00
Jan Kneschke 7126a0f2bc detect endless loops and kill them
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@470 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-23 20:42:34 +00:00
Jan Kneschke ab054446f4 moved last-modified handling into a exported function and let mod_cml use it
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@468 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-23 20:30:54 +00:00
Jan Kneschke ffcc939e1b Added OPTIONS support
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@467 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-21 20:59:30 +00:00
Jan Kneschke 4308d8f868 set Date: header for dynamic HTTP/1.0 requests
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@465 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-18 09:22:19 +00:00
Jan Kneschke 6d5005d9c7 fixed typo
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@409 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-27 10:42:56 +00:00
Jan Kneschke e2e1cc12b6 make encoding of dirlisting configurable (#136)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@399 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-26 10:40:54 +00:00
Jan Kneschke acfe706d73 Looks like the '+' -> ' ' transformation is only applied in the ?query part and not the rel-path.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@366 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-04 15:42:31 +00:00
Jan Kneschke 4335479051 handle ranges >2G correctly
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@363 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-04 14:27:17 +00:00
Jan Kneschke b90f231042 handle range requests for >2Gb correctly
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@357 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-05-23 13:43:40 +00:00
Jan Kneschke a4f3a407bf set server-name to http_host if it is not set explicitly
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@291 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-04-20 16:44:00 +00:00
Jan Kneschke 3b5fffce48 merged partts of [192] and [194]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@283 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-04-15 08:05:08 +00:00
Jan Kneschke 9b59d5800f NAME_MAX needs sys/syslimits.h on cygwin
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@88 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-03 23:52:40 +00:00
Jan Kneschke 2477686b50 added dir-listing.hide-dotfiles and customizable CSS for dirlisting written by smi
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@84 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-03 17:33:44 +00:00
Jan Kneschke b68e4a2f2c strip double / on path-info
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@79 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 18:36:32 +00:00
Jan Kneschke 0cccf378c7 PACKAGE -> PACKAGE_NAME (by smi)
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@67 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 22:16:42 +00:00
Jan Kneschke 7725e92ff6 rewrote the event and error handling with the help of the fcgi-responder.c from the tests.
fixed #38 and other issues this way


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@63 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 16:54:47 +00:00
Jan Kneschke 6e83b23ec9 parse last-modified timestamp and compare it.
let's hope that strptime() works everywhere


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@58 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 17:26:33 +00:00
Jan Kneschke 75fae49e37 * If sizeof(long) == sizeof(off_t), buffer_{append,copy}_off_t()
are only macros to buffer_{append,copy}_long()
* ltostr() returns the string length instead of always 0
* Don't check return value of buffer_prepare_append(buffer *b), since
  it only returns -1 if b == NULL, which we do a few lines above anyway.
* Improved buffer_path_simplify(). No "dot_stack" required anymore.
  Operation can also be performed inplace.
* Check errno also against EACCES at pidfile-unlink for not logging
  a "Permission denied".


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@54 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 10:38:16 +00:00
Jan Kneschke 8b248ce3a5 moved SA_LEN macro to http-header-glue.c
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@50 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 09:04:44 +00:00
Jan Kneschke d26f6893d9 moved external functions to *-glue.c
this simplifies the linkage on windows and macosx
which can't reference the binary for symbols


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@49 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 08:42:47 +00:00
Jan Kneschke bcdc6a3bbc moved everything below trunk/ and added branches/ and tags/
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 14:27:00 +00:00