mod_cache: Broken code?

2015-04-23 Thread Niklas Edmundsson
When trying to debug something else I stumbled across this code-snippet in modules/cache/mod_cache.c: errno = 0; x = control.max_age_value; if (errno) { x = dconf->defex; } else { x = x * MSEC_ONE_SEC; } It looks that way both in trunk and 2.4.x. The likelhood of that if-statement to

Re: Version check idea

2015-04-23 Thread Christophe JAILLET
Le 21/04/2015 15:55, Jim Jagielski a écrit : For comment: What do people think about adding the capability that when httpd is started, it tries to access http://httpd.apache.org/doap.rdf to check its version number with the latest one referred to in that file and, if a newer one exists, it prints

Re: Extending mod_authz_dbd

2015-04-23 Thread Jose Kahan
Hi Graham, Here's a first patch that adds the functionality that you suggested. > Require dbd-login %{REQUEST_URI} %{REQUEST_METHOD} %{REMOTE_USER} > AuthzDBDQuery "UPDATE authn SET uri = %s, method = %s WHERE user = %s” > > Require dbd-logout %{TIME} %{REMOTE_USER} > AuthzDBDQuery "UPDAT

Re: trunk and FreeBSD 10.1

2015-04-23 Thread Jim Jagielski
I tried that, but gmake totally barfed... > On Apr 23, 2015, at 12:07 PM, Jeff Trawick wrote: > > On 04/23/2015 11:59 AM, Jim Jagielski wrote: >> Hmmm... I am seeing some strangeness trying to get trunk to >> build on FreeBSD 10.1... I get to ./server/ and then the >> build dies w/ > > try gmak

Re: Version check idea

2015-04-23 Thread Kurt Newman
On Apr 23, 2015, at 7:50 AM, dev-digest-h...@httpd.apache.org wrote: > > From: Jim Jagielski > Subject: Version check idea > Date: April 21, 2015 at 8:55:38 AM CDT > To: httpd > > > For comment: What do people think about adding the capability that > when httpd is started, it tries to access

Re: Version check idea

2015-04-23 Thread Jim Jagielski
Hmmm... I wonder if the config directive could take a URL as a parameter as an alternative... > On Apr 23, 2015, at 8:48 AM, Rich Bowen wrote: > > > > On 04/21/2015 10:13 AM, Jeff Trawick wrote: >> On 04/21/2015 09:55 AM, Jim Jagielski wrote: >>> For comment: What do people think about adding

Re: trunk and FreeBSD 10.1

2015-04-23 Thread Jeff Trawick
On 04/23/2015 11:59 AM, Jim Jagielski wrote: Hmmm... I am seeing some strangeness trying to get trunk to build on FreeBSD 10.1... I get to ./server/ and then the build dies w/ try gmake? IIRC I had noticed that some BSD make compatibility was lost at some point... -DCROSS_COMPILE -o gen

trunk and FreeBSD 10.1

2015-04-23 Thread Jim Jagielski
Hmmm... I am seeing some strangeness trying to get trunk to build on FreeBSD 10.1... I get to ./server/ and then the build dies w/ -DCROSS_COMPILE -o gen_test_char make[2]: exec(-DCROSS_COMPILE) failed (No such file or directory) *** Error code 1 It looks like the Makefile.in->Makefile

Re: Apache (httpd) Wiki

2015-04-23 Thread Tom Browder
On Apr 23, 2015 7:54 AM, "Rich Bowen" wrote: > > > > On 04/22/2015 10:53 AM, Tom Browder wrote: >> The error phrase is here: >> >> "set all files to 640, or rw-r--r--" >> >> which should read: >> >> "set all files to 640, or rw-r-" > > Thanks. Fixed. Thanks for a rapid fix, Rich. I haven

Re: Apache (httpd) Wiki

2015-04-23 Thread Rich Bowen
On 04/22/2015 10:53 AM, Tom Browder wrote: There is an error on this page which is "immutable" and cannot be edited by an ordinary user (even logged in): https://wiki.apache.org/httpd/FileSystemPermissions The error is in this the last line: What we've done here is to set all files to 640

Re: Version check idea

2015-04-23 Thread Rich Bowen
On 04/21/2015 10:13 AM, Jeff Trawick wrote: On 04/21/2015 09:55 AM, Jim Jagielski wrote: For comment: What do people think about adding the capability that when httpd is started, it tries to access http://httpd.apache.org/doap.rdf to check its version number with the latest one referred to in

Re: ALPN patch comments

2015-04-23 Thread Rainer Jung
Am 23.04.2015 um 06:56 schrieb Kaspar Brand: On 22.04.2015 21:30, Rainer Jung wrote: Am 22.04.2015 um 17:49 schrieb Kaspar Brand: Thanks. In the patch for ssl_private.h, the complete NPN block should actually be dropped - the same block is are already part of ssl_private.h, just 10 lines above.