Commit Graph

425 Commits

Author SHA1 Message Date
Xuefer 14754f33f4 fix and add testcase for #255
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@716 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-20 05:54:19 +00:00
Jan Kneschke 4f1b2f8ca0 add dirlisting needs pcre
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@715 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-19 13:13:16 +00:00
Jan Kneschke f679dba35d fixed typos
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@714 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-19 08:51:34 +00:00
Jan Kneschke 4e7ffb3a12 added lighttpd.passwd for the mod-auth tests
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@713 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-18 09:29:02 +00:00
Jan Kneschke 95dfbca5af updated docs and news about md5 support in htpasswd
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@712 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-16 12:45:15 +00:00
Jan Kneschke e2cf5d3094 tests for htpasswd + md5 and referer matching in conditionals
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@711 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-16 12:44:29 +00:00
Jan Kneschke be5f187d0f added support for md5 and blowfish passwords (fixes #73)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@710 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-16 10:40:45 +00:00
Jan Kneschke dce84f26e1 prepare for the release of 1.4.4
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@709 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 16:59:51 +00:00
Jan Kneschke 903a007674 allow a stand alone version
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@708 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 16:59:30 +00:00
Jan Kneschke af73bcb9fc added docs for the new options and fixed docs about /prefix/ handling (fixes #202)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@707 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 16:58:23 +00:00
Jan Kneschke 119c0da37c the last header line is parsed again and X-LIGHTTPD-send-file was added.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@706 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 13:55:06 +00:00
Jan Kneschke 9d93d78b8e handle mod_secdownload similar to mod_alias: create the physical path yourself
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@705 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 12:47:47 +00:00
Jan Kneschke 88c96e46a0 stipped data. from chunk structure (belongs to the last changeset)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@704 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 10:43:00 +00:00
Jan Kneschke 63dceeb0c6 open files only once for chunk, cache mmap and let the chunk itself close the fd (fixed #261, #257)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@703 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 08:00:33 +00:00
Jan Kneschke b795fd36c0 fixed hashing function to only generate unsigned values (fixes #251)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@702 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 07:27:13 +00:00
Jan Kneschke b3a8abd09d added the same check-local behaviour as in mod_fastcgi
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@701 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 07:12:21 +00:00
Jan Kneschke 74a71a2ff8 exported splaytree_size
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@700 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 07:10:25 +00:00
Jan Kneschke 7113a665b3 improved error messages
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@699 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 07:09:52 +00:00
Xuefer 3006dd11c5 add variable var.PID for use in config file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@698 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-12 12:21:34 +00:00
Jan Kneschke 38b8743af3 - don't keep the full fastcgi response in memory
- don't cache more than 4 chunks in a queue for reuse
- on chunkqueue_reset, clean the chunks


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@696 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 10:00:32 +00:00
Jan Kneschke 57ed250138 don't assume the relpath is really set (merge from #120)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@695 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 09:57:55 +00:00
Jan Kneschke 4b63eae57d fixed crash in SIGINT handling
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@694 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 09:55:45 +00:00
Jan Kneschke d00bb524f7 improve error-reporting (should fixed the Success 5 0 0 messages)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@693 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 09:55:23 +00:00
Jan Kneschke 6b63deb241 fixed example
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@692 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-07 07:33:15 +00:00
Jan Kneschke 9209f7e8bd fixed typo
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@691 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-07 07:32:29 +00:00
Jan Kneschke 0f9a82bd0e only enable fastcgi if necessary
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@690 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-06 10:07:36 +00:00
Jan Kneschke b9623d6fd2 try pkg-config for lua if all other tests fail (fixed #247, #254, #209)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@689 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-06 09:48:17 +00:00
Xuefer 68f009a99f make default of sort to work
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@688 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-05 17:04:29 +00:00
Xuefer 730ce9e9dd don't crach in error message for auth.require->method
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@687 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-05 13:45:53 +00:00
Jan Kneschke 51ab2d8a02 added reload
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@686 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-03 09:36:44 +00:00
Xuefer b37a95855f fix bug triggered by [680]. reset "used"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@685 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-03 03:08:13 +00:00
Xuefer 949ab7685e stupid SEGV introduced in [679]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@684 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-03 03:06:26 +00:00
Jan Kneschke d0c12ea533 when ever we have content-length we have to forward it.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@683 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:34:06 +00:00
Jan Kneschke 603d6ace1d don't try to guess, do a read check if we can open it.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@682 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:24:17 +00:00
Jan Kneschke 52125c82b8 check that we can really read the file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@681 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:07:30 +00:00
Jan Kneschke 326fa40875 compail about the right plugin and don't segfault
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@680 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:07:00 +00:00
Xuefer 363301ccf3 added 'V' for HTTP_HOST, updated default accesslog format.
able to log all method supported by lighttpd.
cleanup (and possibly be faster) a bit by b=p->conf.access_logbuffer.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@679 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 16:09:42 +00:00
Jan Kneschke 5ae22303f4 fixed last-modified handling and handle absolute path names correctly (fixed #244)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@678 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 13:30:44 +00:00
Jan Kneschke 286b6100a4 moved the etag.h to the right file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@677 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 12:38:42 +00:00
Jan Kneschke d956619380 make MacOS X happy when it domes to mod_cml and lua
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@676 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 10:45:45 +00:00
Jan Kneschke 3553b694d0 don't fetch the error-msg a second time
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@675 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 10:44:44 +00:00
Jan Kneschke cdd1f9547b a simple connect() on the port is better and faster
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@674 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 13:24:19 +00:00
Jan Kneschke a732e84748 use netstat to check if a process is listening on port 1026
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@673 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 12:10:59 +00:00
Xuefer 6f3e816fba redirect don't need $tf->{HOSTNAME}
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@672 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 11:55:03 +00:00
Xuefer 7c4bd1e8bb wait the fastcgi process to be up
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@671 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 11:54:39 +00:00
Jan Kneschke 3ebc17571a find perl at runtime
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@670 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 11:44:57 +00:00
Jan Kneschke a44e7fc4c4 replace 'localhost' by gethostbyaddr for 127.0.0.1
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@669 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 11:12:05 +00:00
Jan Kneschke 8e742eac4c minor portability fixes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@668 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 10:33:48 +00:00
Jan Kneschke 09f5416912 some files aren't shipped anymore
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@667 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 09:08:43 +00:00
Jan Kneschke 2d95a31db2 perpare for the 1.4.3 release
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@666 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01 08:42:25 +00:00