Elan Ruusamäe
c6c2bf8308
- Add possibility to disable methods in mod_compress ( #1773 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2325 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-10-03 10:05:33 +00:00
Stefan Bühler
80a4f7a721
Fix fastcgi authorization in subdirectories with check-local=disabled; don't split pathinfo for authorizer. ( #963 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2324 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-10-01 20:08:23 +00:00
Stefan Bühler
87eea9e4c3
Trust pcre-config, do not check for pcre manually ( #1769 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2323 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-10-01 16:49:19 +00:00
Stefan Bühler
da4e28778f
Do not cache default vhost in mod_simple_vhost ( #709 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2322 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-10-01 16:49:15 +00:00
Stefan Bühler
65f4e4a8db
Try to convert string options to shorts for numeric options in config file; allows to use env-vars for numeric options. ( #1159 , thx andrewb)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2321 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-10-01 13:24:19 +00:00
Stefan Bühler
c426767ea2
Removed debian/, openwrt/ and cygwin/; they weren't kept up-to-date, and we decided to remove dist. specific stuff
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2320 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-30 21:13:42 +00:00
Stefan Bühler
b66dc12fda
Fix leaving zombie process with include_shell ( #1777 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2319 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-30 19:42:29 +00:00
Stefan Bühler
cfba07cb82
Now really fix mod auth ldap ( #1066 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2318 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-30 15:30:06 +00:00
Stefan Bühler
80a2ff3f3a
Do not rely on ioctl FIONREAD ( #673 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2317 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-30 14:28:12 +00:00
Stefan Bühler
90bfe20bf5
Fix mod_cgi segfault when bound to unix domain socket ( #653 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2316 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-30 14:20:59 +00:00
Stefan Bühler
8cfa29a7a2
Fix base64 decoding in mod_auth ( #1757 , thx guido)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2315 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-30 13:48:45 +00:00
Stefan Bühler
47f133cbd0
- next is 1.4.21
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2314 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-30 11:20:31 +00:00
Stefan Bühler
78db184594
[doc] added dir-listing.encoding to the example config
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2312 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-23 19:05:42 +00:00
Stefan Bühler
345462a45f
Use decoded url for matching in mod_redirect ( #1720 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2309 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-22 10:16:55 +00:00
Stefan Bühler
c8bce9b4a5
Fix mod_rewrite memleak/endless loop detection ( #1775 , thx phy - again!)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2306 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-21 15:33:52 +00:00
Stefan Bühler
3decb2647b
Fix memleak in request header parsing ( #1774 , thx qhy)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2305 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-20 13:42:14 +00:00
Stefan Bühler
86766c10c5
fix auth.backend.ldap.bind-dn/pw problems (thx ruskie)
...
- missing PATCH for them in mod_auth_patch_connection
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2304 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-19 16:02:34 +00:00
Stefan Bühler
6d1d3fc203
workaround ldap connection leak if a ldap connection failed (restarting ldap)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2303 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-17 14:25:42 +00:00
Stefan Bühler
e7ff94835f
fix splitting of auth-ldap filter
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2302 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-09-17 14:25:39 +00:00
Stefan Bühler
7a64f2f888
fix segfault for stat_cache(fam) calls with relative path (without '/', can be triggered by x-sendfile) ( #1750 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2299 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-27 15:59:50 +00:00
Stefan Bühler
5ab6fa6fd2
Change parser generation again as the previous fix broke building with some non-gnu make utils.
...
According to the automake faq this is only "hiding errors" and we should be able to do better,
but i don't see how (and their examples don't work with -jX).
For a clean solution we need to compile lemon for the build host, not the target.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2298 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-27 14:53:06 +00:00
Stefan Bühler
9cb47be07f
Fix small copy/paste typo in previous commit
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2297 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-27 14:53:03 +00:00
Stefan Bühler
9e6ef84e91
Do not send content-encoding for 304 ( #1754 ), thx yzlai
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2296 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-20 16:44:51 +00:00
Stefan Bühler
ed346f3907
Fixed parser generating with automake
...
- we want "make dist" to generate them (so you can use them for cross compiles),
but we don't want them to be generated in the source dir.
so if you change the .y files and have an extra build dir, you have to delete
the generated parsers from your source.
they get deleted with "make maintainer-clean"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2294 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-20 10:12:23 +00:00
Stefan Bühler
124d8cd555
Fix make dist (remove dummydir)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2293 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-20 10:12:20 +00:00
Stefan Bühler
22d8707ef2
Use struct copy instead of memcpy for volatile siginfo_t in server.c
...
Fixes "discards qualifiers" warning.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2292 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 22:23:34 +00:00
Stefan Bühler
19588f6ee6
Hide some ssl errors per default, enable them with debug.log-ssl-noise ( #397 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2291 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 17:40:42 +00:00
Stefan Bühler
438626667c
Fix mem leak in ssi expression parser ( #1753 ), thx Take5k
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2289 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 16:42:01 +00:00
Stefan Bühler
5194c28220
Fix "comparison between signed and unsigned" warning on 64 bit in mod_fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2288 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 16:41:56 +00:00
Stefan Bühler
b511c42939
Replaced fprintf with log_error_write in mod-fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2287 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 16:41:49 +00:00
Stefan Bühler
43a9842b28
Add 'O' and 'X' to format characters in log_error_write
...
upper case stands for "don't append space"; o/O is for off_t, x/X for int as hex
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2286 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 16:41:42 +00:00
Stefan Bühler
227d6f1b56
Fix format string bugs with sizeof(int)!=sizeof(size_t) in mod_accesslog for SYSLOG
...
(assuming there are no access-log-lines > 2GB)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2285 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 16:41:36 +00:00
Stefan Bühler
24804542d2
[tests] fix skip in mod-rewrite
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2284 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-19 00:11:52 +00:00
Stefan Bühler
43075bd42a
Fix bug with case-insensitive filenames in mod_userdir ( #1589 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2283 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-18 16:21:55 +00:00
Stefan Bühler
ec61ba0559
Match headers case insensitive in response (removing of X-{Sendfile,LIGHTTPD-*}, catching Date/Server)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2281 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-12 19:47:49 +00:00
Stefan Bühler
ba715e1c8f
Fixed conditional patching of ldap filter ( #1564 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2280 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-04 13:58:37 +00:00
Stefan Bühler
3cb2c1c39c
[tests] Added env var TESTS to select only a subset of tests
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2279 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-02 16:24:33 +00:00
Stefan Bühler
5547928112
Decode url before matching in mod_rewrite ( #1720 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2278 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-02 16:24:31 +00:00
Stefan Bühler
e294fffbad
Print helpful error message on conditionals in global block ( #1550 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2277 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-01 20:31:43 +00:00
Stefan Bühler
8d837b75d0
Fix dropping last character of evhost pattern ( #161 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2275 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-01 19:29:27 +00:00
Stefan Bühler
b8835ab9a8
Allow digits in [s]cgi env vars ( #1712 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2274 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-01 18:35:12 +00:00
Stefan Bühler
d62f894344
Fix url encoding to encode more characters ( #266 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2272 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-01 17:54:04 +00:00
Stefan Bühler
ad12e4c5b2
Insert many con->mode checks; they should prevent two modules to handle the same request if they shouldn't ( #631 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2271 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-01 16:13:34 +00:00
Stefan Bühler
f7dd7203e2
Fix buffer_reset to make an empty string
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2270 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-08-01 11:24:06 +00:00
Stefan Bühler
6ce1dfb0d1
mod_{fast,s}cgi: overwrite environment variables ( #1722 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2265 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-31 20:45:36 +00:00
Stefan Bühler
a7f5983e05
Fix EINTR handling for waitpid in mod_fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2264 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-31 20:45:31 +00:00
Stefan Bühler
d0b5d2b45f
Fix round-robin balancing in mod_proxy ( #1715 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2258 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-31 10:28:24 +00:00
Stefan Bühler
60b90dad70
Use filedescriptor 0 for mod_scgi spawn socket, redirect STDERR to /dev/null ( #1716 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2257 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-31 10:28:22 +00:00
Stefan Bühler
c1662bcf8a
Handle EAGAIN and EINTR for freebsd sendfile ( #1675 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2256 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-31 10:28:20 +00:00
Stefan Bühler
3f791f46d5
Fix mod_secdownload problem with unsigned time_t ( #1688 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2255 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-07-31 10:28:18 +00:00