Stefan Bühler
165de1331b
mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions ( fixes #2215 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2736 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-07-04 08:43:37 +00:00
Stefan Bühler
22e8b456a9
Fix header inclusion order, always include "config.h" before any system header
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2624 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 14:31:42 +00:00
Stefan Bühler
63f785a2f8
Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2414 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-03-07 21:05:37 +00:00
Stefan Bühler
52861d77df
Replace buffer_{append,copy}_string with the _len variant where possible ( #1732 , thx crypt)
...
Replace BUFFER_{APPEND,COPY}_STRING_CONST with _len(b, CONST_STRL_LEN(x))
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2250 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-30 19:38:32 +00:00
Jan Kneschke
5b20e0d864
fixed missing initialization
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2104 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-27 23:42:01 +00:00
Stefan Bühler
87145864db
r2095@chromobil: stefan | 2008-02-26 17:11:21 +0100
...
Fix #1449 : Do not add Accept-Ranges header if range-request is disabled
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2090 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-02-26 16:21:32 +00:00
Jan Kneschke
cb0f21c745
added support for If-Range: <date> ( fixes #1346 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2000 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-09 23:00:53 +00:00
Marcus Rückert
5504501699
- fix the frigging 404-handler bugs:
...
- dont restore the http status code unconditionally (1270)
- mod_staticfile should set the http status properly. otherwise we run into
the 404 handling twice and it appends the default 404 page to the content.
(this passed the testsuite)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1899 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-13 11:15:22 +00:00
Marcus Rückert
5a583661e3
- only generate the etag_flags once and store them in the connections
...
object.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1881 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-07-03 18:47:00 +00:00
Jan Kneschke
b2a96c959a
added static-file.etags, etag.use-inode, etag.use-mtime,
...
etag.use-size to customize the generation of ETags for
static files. (fixes #1209 ) (patch by <Yusufg@gmail.com>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1874 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-06-15 15:51:16 +00:00
Jan Kneschke
7a30b1f4c5
don't allow caching of file without a content-type
...
- this solves the early install problems where the user hasn't setup
fastcgi yet and sends the php-source code out and the browser caches
the file and it's content
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1725 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:39:29 +00:00
Jan Kneschke
a1a769ddb5
added possible for the caching of the invalid content-type
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1722 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:12:09 +00:00
Marcus Rückert
8cd1471cb3
- white space cleanup part 2 this time 1.4 ;)
...
i hope it helps with merging stuff back to 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 13:26:23 +00:00
Marcus Rückert
657a024d53
- backport symlink patch in hard version to 1.4.11
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1281 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-07 11:00:02 +00:00
Jan Kneschke
dfd9915628
removed warning
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@988 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-02-08 13:20:14 +00:00
Jan Kneschke
ea57fa1747
ok, rel_path is not updated by mod_indexfile or the pathinfo handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@924 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-06 13:32:17 +00:00
Jan Kneschke
415e215746
use physical.rel_path instead url.path to handle case-insensitive file-systems in the right way
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@923 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-06 02:36:54 +00:00
Jan Kneschke
96ffed78c3
added handling of If-Range
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@909 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-03 14:45:03 +00:00
Jan Kneschke
a77f7a90d8
the range-request options was not handled at all, added test case
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@781 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-05 10:40:00 +00:00
Xuefer
58e4c26d94
remove warning for strptime
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@769 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-01 11:05:30 +00:00
Jan Kneschke
9dd464a72b
moved last-modifed handling to response.c and let mod_cml_lua.c use it.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@655 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31 13:39:09 +00:00
Jan Kneschke
54d03b905b
added large-file support for Range-Requests again.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@625 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-26 07:09:32 +00:00
Xuefer
f387d89870
fix merging of auto-indexing element, and make autoload modules hack to use array merging
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@616 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-23 14:35:01 +00:00
Jan Kneschke
35d3c10d81
on SEGFAULT tell were we where
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@603 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 23:09:43 +00:00
Jan Kneschke
172340e22f
let mod_compress prepare etag, last-modified and content-type
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@569 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 09:26:29 +00:00
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