Commit Graph

22624 Commits

Author SHA1 Message Date
a03bcce31d mod_policy: Add a new testing module to help server administrators
enforce a configurable level of protocol compliance on their
servers and application servers behind theirs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221668 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 10:42:34 +00:00
7ddddd900f Move ab, logresolve, httxt2dbm and apxs to bin from sbin, along with
corresponding man pages.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221292 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 14:51:10 +00:00
f180dc581c Added mod_firehose and firehose to NetWare build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221216 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 12:13:29 +00:00
94f1766d3b Some cosmetic NetWare makefile tweaks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221213 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 11:55:03 +00:00
3db3bf501c Make mod_lua compile with lua 5.2.x.
MOdified patch submitted by NormW (nornw gknw net).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221205 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 11:27:43 +00:00
3f12b4173d Fix the case where AP_DEBUG is unset.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220850 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 17:13:55 +00:00
2cb5dbf511 Distinguish properly between the bindir and sbindir directories when
installing binaries. Previously all binaries were silently installed to
sbindir, whether they were system administration commands or not.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220846 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 17:00:49 +00:00
e46cdfc8a6 Fix warning: variable 'rv' set but not used.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220826 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 16:20:26 +00:00
275ef9c64b Fix warning: 'nlen' may be used uninitialized in this function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220822 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 16:10:22 +00:00
833f9092cc RPM: Remove fiddling with installbuilddir, this is correct by default
through the use of config.layout.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220794 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 15:26:06 +00:00
74a2aac090 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220772 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 14:35:23 +00:00
bcedbc986a Clarify which tarballs we are talking about.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220768 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 14:32:20 +00:00
38f71bb256 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220571 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 00:37:19 +00:00
ee2414342e Add further explanation on RPM packaging.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220570 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 00:36:39 +00:00
fd7fd59e02 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220525 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 20:15:42 +00:00
a5b1971b8e Document the RPM platform.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220524 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 20:14:28 +00:00
76f782e188 Various code cleanup to avoid compiler, cppcheck, or clang warnings:
modules/debugging/mod_firehose.c: Make some internal functions static
                                  (to do: logs_cleanup() is unused)

modules/filters/mod_charset_lite.c: Remove dead assignments

modules/filters/mod_include.c: likewise

modules/metadata/mod_usertrack.c: likewise

modules/proxy/mod_proxy_ftp.c: likewise

modules/ssl/ssl_engine_pphrase.c: likewise

modules/proxy/mod_proxy_balancer.c: likewise;
                                    Remove NULL check that can never happen

modules/proxy/proxy_util.c: Axe NULL-check that can never happen and if it
                            would, it would just mask another bug

os/unix/unixd.c: likewise

modules/http/http_filters.c: Remove sub-condition that is always true

modules/lua/mod_lua.c: Add default cases to switch statements

modules/generators/mod_autoindex.c: Unsigned value can never be < 0

server/util_expr_eval.c: Fix compiler warnings with VC and on OS2



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220493 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:52:59 +00:00
42c9e0b393 Avoid segfault if url->hostname is NULL and filter->hostname is "*" or ".".
Found by clang.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220467 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:38:24 +00:00
b9dacea0ea remove some dead code
found by clang statical analyzer


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220462 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:25:40 +00:00
5923de8ef1 mod_firehose: Ensure directives are defined global only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220460 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:21:36 +00:00
0baba28abe Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220457 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:10:42 +00:00
0e223841a8 mod_firehose: Support portable non blocking support, and make non blocking
support optional.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220456 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 17:05:43 +00:00
8ef69a4da9 Remove unused variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215538 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:57:27 +00:00
a4a2e8d15d Fix the test for APR_HAVE_SYS_SYSLIMITS_H.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215537 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:55:32 +00:00
f7048947c2 RPM: add firehose and mod_firehose to the RPM.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215533 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:27:19 +00:00
1d0b69f8ab Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215530 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:11:42 +00:00
d7d34da947 Add a seealso section to link mod_firehose to the firehose tool.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215529 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:11:17 +00:00
9ad07e7518 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215526 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:06:08 +00:00
9ad824e793 mod_firehose: Add a new debugging module able to record traffic
passing through the server in such a way that connections and/or
requests be reconstructed and replayed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215525 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:03:59 +00:00
0a91425696 Update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215514 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 15:33:23 +00:00
9675b7484f Allow for changing of string more easily...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214296 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 15:29:19 +00:00
2a321cde3e update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214099 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 08:14:29 +00:00
7afff975d4 New Turkish translation
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by:  Orhan berent <berent belgeler.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214088 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 08:04:31 +00:00
e6fff50c23 update for sync with English doc.
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by:  Orhan Berent <berent belgeler.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214087 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 08:04:05 +00:00
075c44f008 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214021 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 01:25:00 +00:00
cb21a0dbcc Further clarify the naming of the entity that directly connects to us by
calling that entity a client instead of a peer.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214015 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 01:10:52 +00:00
8cea5c4275 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214007 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 00:34:27 +00:00
ad489c105b Further clarify the naming of the entity that originates the request by
calling that entity a useragent instead of a client.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214005 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 00:33:46 +00:00
2af2fa44ad Further clarify the naming of the entity that originates the request by
calling that entity a useragent instead of a client.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214003 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 00:31:51 +00:00
a4e7bcc4d4 update translation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213961 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 22:12:14 +00:00
e6d1031885 Explicitly cast function pointer, to remove 'const'.
Hopefully this makes the NetWare compiler happy.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213567 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 05:53:50 +00:00
627e53503d logging adjustments:
- consistently call ssl_log_ssl_error after ap_log_error etc.
- ssl_init_ConfigureServer: add vhost_id to log message


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213399 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 20:01:43 +00:00
10baccbe56 zap an unhelpful, out of date comment from httpd 1.2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213391 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 19:47:19 +00:00
47b58a49e0 definAtely
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213381 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 19:21:37 +00:00
8d37f73ce7 Streamline TLS session ticket key handling (added in r1200040):
- drop the SSLTicketKeyDefault directive, and only support a single
  ticket key per server/vhost
- rename the SSLTicketKeyFile directive to SSLSessionTicketKeyFile,
  remove the keyname parameter
- move ticket key parameters from SSLSrvConfigRec to modssl_ctx_t
- configure the tlsext_ticket_key_cb only when in server mode
- add documentation for SSLSessionTicketKeyFile


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213380 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 19:21:35 +00:00
91ce790cd3 Limit length of lines in .htaccess to 8K again, to reduce DoS potential.
Make ap_varbuf_cfg_getline() strictly enforce the max_len parameter.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1213338 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 17:50:33 +00:00
e0a5a7882e Fix names of unary operators like '-s' being compared case insensitively.
Improve error message if op or function is not found. Document '-s' operator. 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1212883 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 21:26:00 +00:00
0aaf65934f Typos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1212872 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 21:03:19 +00:00
c878a5ce0d RPM: Update the spec file to require at least apr-util v1.4.x.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1212402 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:27:07 +00:00
786ef4c02e Typo correction.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211968 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 16:41:57 +00:00