]> granicus.if.org Git - apache/log
apache
6 years agomod_rewrite,core: avoid Vary:Host (part 2)
Luca Toscano [Wed, 20 Sep 2017 13:03:41 +0000 (13:03 +0000)]
mod_rewrite,core: avoid Vary:Host (part 2)

This is a follow up of r1808746 after a chat
with Yann on dev@:

- the HTTP:Host variable suffers from the same problem
- the strcasecmp should be used to allow case-sensitive
  comparisons.
- in mod_rewrite is less cumbersome and more clean to just
  make the Host header check in lookup_header, so it will
  be automatically picked up by every part of the code
  that uses it. It shouldn't be a relevant overhead for
  mod_rewrite.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1809028 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMinor corrections.
Lucien Gentis [Tue, 19 Sep 2017 16:47:30 +0000 (16:47 +0000)]
Minor corrections.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808911 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_speling/PR 38923: don't embed Referer in link in error page.
Nick Kew [Mon, 18 Sep 2017 21:20:51 +0000 (21:20 +0000)]
mod_speling/PR 38923: don't embed Referer in link in error page.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808780 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_rewrite/core: avoid the 'Vary: Host' header
Luca Toscano [Mon, 18 Sep 2017 17:08:54 +0000 (17:08 +0000)]
mod_rewrite/core: avoid the 'Vary: Host' header

In PR 58231 is was brought up that httpd adds the
Vary: Host header whenever a condition is set to true
in mod_rewrite or in an <If> block.

The https://tools.ietf.org/html/rfc7231#section-7.1.4
section seems to disallow this use case:

"The "Vary" header field in a response describes "
"what parts of a request message, "
"aside from the method, Host header field, [...]"

I had a chat with the folks in #traffic-server and
they don't see much point in having a Vary: Host header,
plus it was reported that Varnish doesn't like it very
much (namely it does not cache the response when
it sees the header, links of the report in the PR).

I don't see much value in this behavior of httpd so
I am inclined to remove this response header value,
but I'd be glad to get a more experienced opinion.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808746 13f79535-47bb-0310-9956-ffa450edef68

6 years agoformat typo
Jim Jagielski [Mon, 18 Sep 2017 14:17:04 +0000 (14:17 +0000)]
format typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808723 13f79535-47bb-0310-9956-ffa450edef68

6 years ago* Correctly dump pools that have no tag
Ruediger Pluem [Mon, 18 Sep 2017 07:23:43 +0000 (07:23 +0000)]
* Correctly dump pools that have no tag

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808671 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRebuild.
Lucien Gentis [Sat, 16 Sep 2017 14:03:16 +0000 (14:03 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808542 13f79535-47bb-0310-9956-ffa450edef68

6 years agoXML update.
Lucien Gentis [Sat, 16 Sep 2017 14:00:43 +0000 (14:00 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808541 13f79535-47bb-0310-9956-ffa450edef68

6 years agoprettify.js: add highlight for MDRequireHttps
Luca Toscano [Fri, 15 Sep 2017 12:09:58 +0000 (12:09 +0000)]
prettify.js: add highlight for MDRequireHttps

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808453 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDocumentation rebuild
Luca Toscano [Fri, 15 Sep 2017 11:09:19 +0000 (11:09 +0000)]
Documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808446 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the trunk:
Stefan Eissing [Fri, 15 Sep 2017 10:35:53 +0000 (10:35 +0000)]
On the trunk:

mod_md: v0.9.6: a "MDRequireHttps permament" configured domain automatically sends out HSTS (rfc 6797) headers in https: responses.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808444 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the trunk:
Stefan Eissing [Thu, 14 Sep 2017 13:01:29 +0000 (13:01 +0000)]
On the trunk:

mod_ssl: adding ssl_policies.h[.in] for policy cipher/protocol definitions. Use
     update_policies.py to update manually from Mozilla JSON definitions at
     https://statics.tls.security.mozilla.org/server-side-tls-conf.json

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808335 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDocumentation rebuild
Luca Toscano [Wed, 13 Sep 2017 14:58:58 +0000 (14:58 +0000)]
Documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808250 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_md.xml: fix some typos
Luca Toscano [Wed, 13 Sep 2017 14:57:54 +0000 (14:57 +0000)]
mod_md.xml: fix some typos

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808249 13f79535-47bb-0310-9956-ffa450edef68

6 years agoupdate log tag db
Stefan Eissing [Wed, 13 Sep 2017 14:20:29 +0000 (14:20 +0000)]
update log tag db

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808245 13f79535-47bb-0310-9956-ffa450edef68

6 years agoupdated mod_ssl log tags
Stefan Eissing [Wed, 13 Sep 2017 14:20:16 +0000 (14:20 +0000)]
updated mod_ssl log tags

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808244 13f79535-47bb-0310-9956-ffa450edef68

6 years agoupdated mod_md log tags
Stefan Eissing [Wed, 13 Sep 2017 14:20:07 +0000 (14:20 +0000)]
updated mod_md log tags

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808243 13f79535-47bb-0310-9956-ffa450edef68

6 years agoadded new mod_md directives
Stefan Eissing [Wed, 13 Sep 2017 14:19:40 +0000 (14:19 +0000)]
added new mod_md directives

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808242 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the trunk:
Stefan Eissing [Wed, 13 Sep 2017 14:16:49 +0000 (14:16 +0000)]
On the trunk:

mod_md: v0.9.5:
     - New directive (srly: what do you expect at this point?) "MDMustStaple on|off" to control if
       new certificates are requested with the OCSP Must Staple extension.
     - Known limitation: when the server is configured to ditch and restart child processes, for example
       after a certain number of connections/requests, the mod_md watchdog instance might migrate
       to a new child process. Since not all its state is persisted, some messsages might appear a
       second time in the logs.
     - Adding checks when 'MDRequireHttps' is used. It is considered an error when 'MDPortMap 443:-'
       is used - which negates that a https: port exists. Also, a warning is logged if no
       VirtualHost can be found for a Managed Domain that has port 443 (or the mapped one) in
       its address list.
     - New directive 'MDRequireHttps' for redirecting http: traffic to a Managed Domain, permanently
       or temporarily.
     - Fix for using a fallback certificate on initial signup of a Managed Domain. Requires also
       a changed mod_ssl patch (v5) to take effect.
     - compatibility with libressl

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808241 13f79535-47bb-0310-9956-ffa450edef68

6 years ago* server/protocol.c (ap_content_length_filter): Rewrite the content
Joe Orton [Wed, 13 Sep 2017 10:59:51 +0000 (10:59 +0000)]
* server/protocol.c (ap_content_length_filter): Rewrite the content
  length filter to avoid arbitrary memory consumption for streaming
  responses (e.g. large CGI script output).  Ensures C-L is still
  generated in common cases (static content, small CGI script output),
  but this DOES change behaviour and some responses will end up
  chunked rather than C-L computed.

PR: 61222
Submitted by: jorton, rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808230 13f79535-47bb-0310-9956-ffa450edef68

6 years agodocs: allow Directive/<Directive> naming in prettify.js/css
Luca Toscano [Wed, 13 Sep 2017 09:54:37 +0000 (09:54 +0000)]
docs: allow Directive/<Directive> naming in prettify.js/css

Creditis to Humbedooh for all the work.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808224 13f79535-47bb-0310-9956-ffa450edef68

6 years agodocs: add ManagedDomain and SSLPolicy containers to prettify.js
Luca Toscano [Wed, 13 Sep 2017 07:54:28 +0000 (07:54 +0000)]
docs: add ManagedDomain and SSLPolicy containers to prettify.js

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808204 13f79535-47bb-0310-9956-ffa450edef68

6 years agodocs: update the prettify.js files with new directives
Luca Toscano [Wed, 13 Sep 2017 07:28:57 +0000 (07:28 +0000)]
docs: update the prettify.js files with new directives

Procedure that I've used:

1) Copy https://httpd.apache.org/docs/trunk/mod/directives.html
   to a text file.
2) Generate a csv with something like
   cat /tmp/trunk_directives | sort | tr "\n" ","
3) Replace the content of CONFIG_KEYWORDS in prettify.js
   with the list generated in 2)
4) Run the command the MINIFY command to generate prettify.min.js

This commit should hopefully allow a better syntax highlighting
in our docs examples.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808203 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDocumentation rebuild
Luca Toscano [Tue, 12 Sep 2017 16:26:37 +0000 (16:26 +0000)]
Documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808130 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_proxy_fcgi.xml: add examples for flushpackets=on
Luca Toscano [Tue, 12 Sep 2017 16:26:19 +0000 (16:26 +0000)]
mod_proxy_fcgi.xml: add examples for flushpackets=on

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808129 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the trunk:
Stefan Eissing [Tue, 12 Sep 2017 14:27:47 +0000 (14:27 +0000)]
On the trunk:

mod_ssl: properly initializing server for fallback certificates provided by mod_md.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808122 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDocumentation rebuild
Luca Toscano [Tue, 12 Sep 2017 10:06:00 +0000 (10:06 +0000)]
Documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808101 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_md.xml: minor style/visual changes
Luca Toscano [Tue, 12 Sep 2017 10:05:35 +0000 (10:05 +0000)]
mod_md.xml: minor style/visual changes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808100 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDocumentation rebuild
Luca Toscano [Tue, 12 Sep 2017 09:41:50 +0000 (09:41 +0000)]
Documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808093 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_md.xml: add missing descriptions and directivesynopsis
Luca Toscano [Tue, 12 Sep 2017 09:41:24 +0000 (09:41 +0000)]
mod_md.xml: add missing descriptions and directivesynopsis

Based on the work of Bernard Spil <brnrd freebsd org>.

PR: 61512

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808092 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpdate CHANGES after r1808008
Luca Toscano [Tue, 12 Sep 2017 08:08:35 +0000 (08:08 +0000)]
Update CHANGES after r1808008

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808085 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_proxy_fcgi: follow up to r1807876.
Yann Ylavic [Mon, 11 Sep 2017 10:49:13 +0000 (10:49 +0000)]
mod_proxy_fcgi: follow up to r1807876.
Fix mixed declarations and code [-Wdeclaration-after-statement].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808014 13f79535-47bb-0310-9956-ffa450edef68

6 years agohtdigest: prevent buffer overflow when strings in lines are too long.
Luca Toscano [Mon, 11 Sep 2017 10:28:09 +0000 (10:28 +0000)]
htdigest: prevent buffer overflow when strings in lines are too long.

Reported by: Hanno Böck
PR: 61511

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808008 13f79535-47bb-0310-9956-ffa450edef68

6 years agoa2md: all objects should be compiled before linking, or "make -j" may break.
Yann Ylavic [Mon, 11 Sep 2017 10:19:19 +0000 (10:19 +0000)]
a2md: all objects should be compiled before linking, or "make -j" may break.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1808005 13f79535-47bb-0310-9956-ffa450edef68

6 years ago* We need i if we have HAVE_SSL_CONF_CMD defined
Ruediger Pluem [Mon, 11 Sep 2017 06:15:58 +0000 (06:15 +0000)]
* We need i if we have HAVE_SSL_CONF_CMD defined

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807994 13f79535-47bb-0310-9956-ffa450edef68

6 years ago* Silence compiler warning and remove unused variable
Ruediger Pluem [Mon, 11 Sep 2017 06:02:14 +0000 (06:02 +0000)]
* Silence compiler warning and remove unused variable

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807993 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdded Spanish Translation for event.xml.es
Daniel Ferradal [Sun, 10 Sep 2017 12:35:55 +0000 (12:35 +0000)]
Added Spanish Translation for event.xml.es

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807946 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRebuild.
Lucien Gentis [Sat, 9 Sep 2017 13:23:15 +0000 (13:23 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807897 13f79535-47bb-0310-9956-ffa450edef68

6 years agoXML updates.
Lucien Gentis [Sat, 9 Sep 2017 13:22:11 +0000 (13:22 +0000)]
XML updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807895 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_proxy_fcgi: limit the flush buckets inserted when flushpackets=on|auto
Luca Toscano [Sat, 9 Sep 2017 10:24:19 +0000 (10:24 +0000)]
mod_proxy_fcgi: limit the flush buckets inserted when flushpackets=on|auto

This commit is a follow up of r1802040 based on Jacob's
feedback, namely inserting the FLUSH buckets only when
really needed and useful, not always.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807876 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDocumentation rebuild part 2
Luca Toscano [Sat, 9 Sep 2017 09:32:05 +0000 (09:32 +0000)]
Documentation rebuild part 2

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807871 13f79535-47bb-0310-9956-ffa450edef68

6 years agoDocumentation rebuild
Luca Toscano [Sat, 9 Sep 2017 09:31:42 +0000 (09:31 +0000)]
Documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807870 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_ssl.xml: simplification of SSLEngine section
Luca Toscano [Sat, 9 Sep 2017 09:30:22 +0000 (09:30 +0000)]
mod_ssl.xml: simplification of SSLEngine section

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807869 13f79535-47bb-0310-9956-ffa450edef68

6 years agoevent.xml: fix reference to upcoming httpd release
Luca Toscano [Sat, 9 Sep 2017 09:29:47 +0000 (09:29 +0000)]
event.xml: fix reference to upcoming httpd release

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807868 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the trunk:
Stefan Eissing [Fri, 8 Sep 2017 15:06:44 +0000 (15:06 +0000)]
On the trunk:

mod_md: added necessary CPPFLAGS for a2md build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807777 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the trunk:
Stefan Eissing [Fri, 8 Sep 2017 14:55:04 +0000 (14:55 +0000)]
On the trunk:

mod_md: v0.9.2: new directive 'MDHttpProxy' to define a proxy for outgoing connection,
some minor bugfixes, twiddle the build system to avoid non-pic code generation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807774 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the trunk:
Stefan Eissing [Fri, 8 Sep 2017 10:29:53 +0000 (10:29 +0000)]
On the trunk:

mod_ssl: Extending SSLEngine to alternatively get a list of add:port spec as used in VirtualHost.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807709 13f79535-47bb-0310-9956-ffa450edef68

7 years agocore: Disallow Methods' registration at run time (.htaccess), they may be
Yann Ylavic [Thu, 7 Sep 2017 22:43:41 +0000 (22:43 +0000)]
core: Disallow Methods' registration at run time (.htaccess), they may be
used only if registered at init time (httpd.conf).

Calling ap_method_register() in children processes is not the right scope
since it won't be shared for all requests.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807655 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Thu, 7 Sep 2017 11:41:28 +0000 (11:41 +0000)]
On the trunk:

mod_md: avoid linking libmd.la twice

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807593 13f79535-47bb-0310-9956-ffa450edef68

7 years agoupdate feather to conform with style guide
Daniel Gruno [Thu, 7 Sep 2017 11:06:15 +0000 (11:06 +0000)]
update feather to conform with style guide

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807587 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Thu, 7 Sep 2017 10:01:57 +0000 (10:01 +0000)]
On the trunk:

mod_md: fix in Makefile to use EXTRA_INCLUDES for a2md build, so that APR headers from srclib are found.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807577 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Tue, 5 Sep 2017 13:10:11 +0000 (13:10 +0000)]
On the trunk:

  *) mod_md: v0.9.1:
     - various fixes in MDRenewWindow handling when specifying percent. Serialization changed. If
       someone already used percent configurations, it is advised to change these to a new value,
       reload and change back to the wanted ones.
     - various fixes in handling of MDPrivateKeys when specifying 2048 bits (the default) explicitly.
     - mod_md version removed from top level md_store.json file. The store has its own format version
       to facilitate upgrades.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807347 13f79535-47bb-0310-9956-ffa450edef68

7 years agoMake sure that ajp behaves like http.
Jean-Frederic Clere [Tue, 5 Sep 2017 10:58:26 +0000 (10:58 +0000)]
Make sure that ajp behaves like http.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807338 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix for JBCS-390.
Jean-Frederic Clere [Tue, 5 Sep 2017 07:27:33 +0000 (07:27 +0000)]
Fix for JBCS-390.
Note it is related to PR  59007

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807318 13f79535-47bb-0310-9956-ffa450edef68

7 years agodocumentation rebuild
Luca Toscano [Mon, 4 Sep 2017 15:46:42 +0000 (15:46 +0000)]
documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807250 13f79535-47bb-0310-9956-ffa450edef68

7 years agoevent.xml doc: update to latest improvements
Luca Toscano [Mon, 4 Sep 2017 15:46:21 +0000 (15:46 +0000)]
event.xml doc: update to latest improvements

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807249 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Mon, 4 Sep 2017 15:10:59 +0000 (15:10 +0000)]
On the trunk:

  *) mod_http2: DoS flow control protection is less agressive as long as active tasks stay
     below worker capacity. Intended to fix problems with media streaming.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807238 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Mon, 4 Sep 2017 14:33:18 +0000 (14:33 +0000)]
On the trunk:

mod_ssl: using improved mod_md md_get_certificate optional function when available

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807232 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Mon, 4 Sep 2017 14:07:29 +0000 (14:07 +0000)]
On the trunk:

mod_md:
 * Improved interface to mod_ssl for fallback handling. Backward compatible to previous mod_ssl
   patch, but fallbacks will not work.
 * Provide a temporary, self-signed certificate with a speaking command and domain name if we
   have no other cert for a Managed Domain, yet. Refs github issue #32
 * Continue to provide expired or not-completely matching, existing certificate for a Managed
   Domain until the renewal was successful. This is helpful when one adds a DNS name to
   a MD, so the previous domains can be served while a new cert is requested.
 * All files necessary to run tests are not in the release package.
 * Making "http-01" the preferred challenge type again, as people "tls-sni-01" requires at least
   one working certificate vhost right now - which not everyone has.
 * moved part of the MD sanity checks from post_config to check_config phase, allowing for error
   detection in check-only runs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807228 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRebuild.
Lucien Gentis [Sat, 2 Sep 2017 15:45:41 +0000 (15:45 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807063 13f79535-47bb-0310-9956-ffa450edef68

7 years agoXML update.
Lucien Gentis [Sat, 2 Sep 2017 15:44:18 +0000 (15:44 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807062 13f79535-47bb-0310-9956-ffa450edef68

7 years agoGenerated doc changes
Mike Rumph [Fri, 1 Sep 2017 15:44:11 +0000 (15:44 +0000)]
Generated doc changes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806986 13f79535-47bb-0310-9956-ffa450edef68

7 years agoPROXY protocol proposal corrections
Mike Rumph [Fri, 1 Sep 2017 15:41:20 +0000 (15:41 +0000)]
PROXY protocol proposal corrections

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806985 13f79535-47bb-0310-9956-ffa450edef68

7 years agodoc rebuild
Luca Toscano [Fri, 1 Sep 2017 12:48:12 +0000 (12:48 +0000)]
doc rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806950 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Fri, 1 Sep 2017 12:11:38 +0000 (12:11 +0000)]
On the trunk:

mod_md: v0.8.1 from github, new feats in CHANGES

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806939 13f79535-47bb-0310-9956-ffa450edef68

7 years agoAdding generated files for encrypt.xml
Mike Rumph [Thu, 31 Aug 2017 18:32:04 +0000 (18:32 +0000)]
Adding generated files for encrypt.xml

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806836 13f79535-47bb-0310-9956-ffa450edef68

7 years agoGenerated doc changes
Mike Rumph [Thu, 31 Aug 2017 18:14:16 +0000 (18:14 +0000)]
Generated doc changes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806834 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFrench translation rebuild after r1806443
Luca Toscano [Mon, 28 Aug 2017 12:37:14 +0000 (12:37 +0000)]
French translation rebuild after r1806443

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806444 13f79535-47bb-0310-9956-ffa450edef68

7 years agosynopsis.xsl: fix broken translation builds
Luca Toscano [Mon, 28 Aug 2017 12:34:58 +0000 (12:34 +0000)]
synopsis.xsl: fix broken translation builds

This commit is a follow up of r1805189, in which
a new logic was added to allow to repeat a directive
name only if its type is different (like SSLPolicy
and <SSLPolicy>). The change broken french translations
since the $this variable, containing the translated
sections, was not used anymore.

The XPath code could surely be improved, but it seems
more pressing to allow our translators to get back
to their daily work without interference.

build.sh validate-* worked fine, as well as the build.sh fr
translation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806443 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRebuild.
Lucien Gentis [Mon, 28 Aug 2017 11:13:45 +0000 (11:13 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806429 13f79535-47bb-0310-9956-ffa450edef68

7 years agoXML update.
Lucien Gentis [Mon, 28 Aug 2017 11:13:06 +0000 (11:13 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1806428 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRebuild.
Lucien Gentis [Mon, 21 Aug 2017 13:48:59 +0000 (13:48 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805635 13f79535-47bb-0310-9956-ffa450edef68

7 years agoXML update.
Lucien Gentis [Mon, 21 Aug 2017 13:48:23 +0000 (13:48 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805634 13f79535-47bb-0310-9956-ffa450edef68

7 years agoRebuild.
Lucien Gentis [Mon, 21 Aug 2017 13:43:45 +0000 (13:43 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805630 13f79535-47bb-0310-9956-ffa450edef68

7 years agoXML update.
Lucien Gentis [Mon, 21 Aug 2017 13:41:36 +0000 (13:41 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805629 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix remaning compilation warning when MIME_MAGIC_DEBUG is defined.
Christophe Jaillet [Sat, 19 Aug 2017 09:05:55 +0000 (09:05 +0000)]
Fix remaning compilation warning when MIME_MAGIC_DEBUG is defined.
Style is not perfect, but at least, the warning is fixed.

warning: format ‘%c’ expects argument of type ‘int’, but argument 10 has type ‘long unsigned int’ [-Wformat=]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805493 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix some compilation warning when MIME_MAGIC_DEBUG is defined.
Christophe Jaillet [Sat, 19 Aug 2017 08:12:23 +0000 (08:12 +0000)]
Fix some compilation warning when MIME_MAGIC_DEBUG is defined.

warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument <n> has type ‘<something> *’ [-Wformat=]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805491 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix a compilation warning introduced by r1802040.
Christophe Jaillet [Sat, 19 Aug 2017 07:42:16 +0000 (07:42 +0000)]
Fix a compilation warning introduced by r1802040.
mod_proxy_fcgi.c:893:19: warning: ‘flushpoll’ may be used uninitialized in this function [-Wmaybe-uninitialized]

This warning is a false positive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805490 13f79535-47bb-0310-9956-ffa450edef68

7 years agodocumentation rebuild
Luca Toscano [Fri, 18 Aug 2017 08:42:31 +0000 (08:42 +0000)]
documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805382 13f79535-47bb-0310-9956-ffa450edef68

7 years agosections.xml: fix another typo (missed in the prev commit)
Luca Toscano [Fri, 18 Aug 2017 08:42:14 +0000 (08:42 +0000)]
sections.xml: fix another typo (missed in the prev commit)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805381 13f79535-47bb-0310-9956-ffa450edef68

7 years agodocumentation rebuild
Luca Toscano [Fri, 18 Aug 2017 08:39:52 +0000 (08:39 +0000)]
documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805379 13f79535-47bb-0310-9956-ffa450edef68

7 years agosections.xml: fix mod_md's link
Luca Toscano [Fri, 18 Aug 2017 08:39:35 +0000 (08:39 +0000)]
sections.xml: fix mod_md's link

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805378 13f79535-47bb-0310-9956-ffa450edef68

7 years agodocumentation rebuild
Luca Toscano [Fri, 18 Aug 2017 08:37:47 +0000 (08:37 +0000)]
documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805377 13f79535-47bb-0310-9956-ffa450edef68

7 years agocommon.dtd: add idtype attribute to directive
Luca Toscano [Fri, 18 Aug 2017 08:37:29 +0000 (08:37 +0000)]
common.dtd: add idtype attribute to directive

This change completes r1805372 and also fixes
links generation for <ManageDomain> and <SSLPolicy>
in sections.xml

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805376 13f79535-47bb-0310-9956-ffa450edef68

7 years agoDocumentation rebuild
Luca Toscano [Fri, 18 Aug 2017 08:24:45 +0000 (08:24 +0000)]
Documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805373 13f79535-47bb-0310-9956-ffa450edef68

7 years agodoc xsl/dtd: introduce idtype attribute for directivesynopsis
Luca Toscano [Fri, 18 Aug 2017 08:21:43 +0000 (08:21 +0000)]
doc xsl/dtd: introduce idtype attribute for directivesynopsis

In r1805193 synopsis.xsl was changed to allow two directives
of different type (like <SSLPolicy> and SSLPolicy) to share
the same name but have different ids (and please validate-xml/xhtml).
The downside of this action was that all the quicklinks to
existing directive sections (like <If>, <VirtualHost>, etc..)
were changed, possibly breaking external clients already
referencing them.

This change introduces a new attribute in the directivesynopsis
DTD, namely 'idtype', that will be appended to 'name'
in the id generation by synopsis.xsl. This will rollback
link names to their previous values and will allow documentators
to fine tune directivesynopsis sections as they need
(for example we have recently introduced mod_md's
ManagedDomain/<ManagedDomain>, and modssl's SSLPolicy/<SSLPolicy>).

This approach seems more precise and less invasive to me.
Of course the name of the attribute can be changed later on
to whatever term would fit best, the main concern for me at
the moment is to restore the trunk documentation to its previous
state.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805372 13f79535-47bb-0310-9956-ffa450edef68

7 years agoclearer docs
Jim Jagielski [Thu, 17 Aug 2017 18:36:04 +0000 (18:36 +0000)]
clearer docs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805323 13f79535-47bb-0310-9956-ffa450edef68

7 years agouserland change = we now are OK w/ ms
Jim Jagielski [Thu, 17 Aug 2017 18:06:15 +0000 (18:06 +0000)]
userland change = we now are OK w/ ms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805322 13f79535-47bb-0310-9956-ffa450edef68

7 years agodocumentation rebuild
Luca Toscano [Thu, 17 Aug 2017 15:30:07 +0000 (15:30 +0000)]
documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805303 13f79535-47bb-0310-9956-ffa450edef68

7 years agomod_ssl.xml: fix typo
Luca Toscano [Thu, 17 Aug 2017 15:29:51 +0000 (15:29 +0000)]
mod_ssl.xml: fix typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805302 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Thu, 17 Aug 2017 14:34:44 +0000 (14:34 +0000)]
On the trunk:

mod_md v0.7.0:
     - LIVE: the real Let's Encrypt CA is now live by default! If you need to experiment, configure
           MDCertificateAuthority https://acme-staging.api.letsencrypt.org/directory
     - When existing, complete certificates are renewed, the activation of the new ones is
       delayed by 24 hours (or until the existing ones expire, whatever is earler) to accomodate
       for clients with weird clocks, refs #1.
     - Fixed store sync when MDCAChallenges was removed again from an MD.
     - Fixed crash when MD matched the base server, fixes #23
     - Fixed watchgod resetting staging when server processes disappeared (e.g. reached
       max requests or other limits).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805294 13f79535-47bb-0310-9956-ffa450edef68

7 years ago* Makefile is a generated file that is not version controlled
Ruediger Pluem [Thu, 17 Aug 2017 05:39:11 +0000 (05:39 +0000)]
* Makefile is a generated file that is not version controlled

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805256 13f79535-47bb-0310-9956-ffa450edef68

7 years agoFix remaining lint from ms capability for hchecks.
Jim Jagielski [Wed, 16 Aug 2017 15:14:48 +0000 (15:14 +0000)]
Fix remaining lint from ms capability for hchecks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805206 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Wed, 16 Aug 2017 14:27:53 +0000 (14:27 +0000)]
On the trunk:
mod_ssl.xml: adding description of predefined policies, some work tweakings.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805203 13f79535-47bb-0310-9956-ffa450edef68

7 years agodocumentation rebuild
Luca Toscano [Wed, 16 Aug 2017 14:05:43 +0000 (14:05 +0000)]
documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805202 13f79535-47bb-0310-9956-ffa450edef68

7 years agoOn the trunk:
Stefan Eissing [Wed, 16 Aug 2017 14:02:51 +0000 (14:02 +0000)]
On the trunk:

mod_ssl.xml: use of new section directive ids, tweaking examples and some language.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805201 13f79535-47bb-0310-9956-ffa450edef68

7 years agoadding generated unit test files to ignores
Stefan Eissing [Wed, 16 Aug 2017 13:49:49 +0000 (13:49 +0000)]
adding generated unit test files to ignores

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805199 13f79535-47bb-0310-9956-ffa450edef68

7 years agomod_md doc rebuild
Luca Toscano [Wed, 16 Aug 2017 13:44:49 +0000 (13:44 +0000)]
mod_md doc rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805197 13f79535-47bb-0310-9956-ffa450edef68

7 years agoDocumentation rebuild
Luca Toscano [Wed, 16 Aug 2017 13:42:46 +0000 (13:42 +0000)]
Documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805196 13f79535-47bb-0310-9956-ffa450edef68

7 years agoUpdate offsets
Jim Jagielski [Wed, 16 Aug 2017 13:41:39 +0000 (13:41 +0000)]
Update offsets

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1805195 13f79535-47bb-0310-9956-ffa450edef68