Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev

[Apache-Test + httpd24] [PATCH] Set DefaultRuntimeDir on Apache 2.4

 

 

ModPerl dev RSS feed   Index | Next | Previous | View Threaded


ntyni at debian

Jun 23, 2013, 1:10 PM

Post #1 of 3 (98 views)
Permalink
[Apache-Test + httpd24] [PATCH] Set DefaultRuntimeDir on Apache 2.4

Quoting <http://httpd.apache.org/docs/trunk/developer/new_api_2_4.html>:

Create run-time files such as shared memory files, pid files, etc.
Use ap_runtime_dir_relative() so that the global configuration for the
location of such files, either by the DEFAULT_REL_RUNTIMEDIR compile
setting or the DefaultRuntimeDir directive, will be respected. Apache
httpd 2.4.2 and above.

The attached patch makes Apache-Test set DefaultRunTimeDir to the
log directory so that mod_auth_digest (and possibly others) will write
there. The setting is guarded with IfVersion directives, so the change
shouldn't break anything with older Apache versions.

With this, the mod_perl httpd24 branch doesn't need an explicit
DefaultRuntimeDir setting in t/conf/extra.conf.in anymore; remove that
as well.
--
Niko Tyni ntyni [at] debian
Attachments: 310-defaultruntimedir.patch (0.98 KB)


jorton at redhat

Jun 24, 2013, 4:33 AM

Post #2 of 3 (84 views)
Permalink
Re: [Apache-Test + httpd24] [PATCH] Set DefaultRuntimeDir on Apache 2.4 [In reply to]

On Sun, Jun 23, 2013 at 11:10:20PM +0300, Niko Tyni wrote:
> Quoting <http://httpd.apache.org/docs/trunk/developer/new_api_2_4.html>:
>
> Create run-time files such as shared memory files, pid files, etc.
> Use ap_runtime_dir_relative() so that the global configuration for the
> location of such files, either by the DEFAULT_REL_RUNTIMEDIR compile
> setting or the DefaultRuntimeDir directive, will be respected. Apache
> httpd 2.4.2 and above.
>
> The attached patch makes Apache-Test set DefaultRunTimeDir to the
> log directory so that mod_auth_digest (and possibly others) will write
> there. The setting is guarded with IfVersion directives, so the change
> shouldn't break anything with older Apache versions.

Looks good also - committed the Apache-Test part in r1495998.

Regards, Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl


jkaluza at redhat

Jun 24, 2013, 5:37 AM

Post #3 of 3 (84 views)
Permalink
Re: [Apache-Test + httpd24] [PATCH] Set DefaultRuntimeDir on Apache 2.4 [In reply to]

On 06/23/2013 10:10 PM, Niko Tyni wrote:
> Quoting <http://httpd.apache.org/docs/trunk/developer/new_api_2_4.html>:
>
> Create run-time files such as shared memory files, pid files, etc.
> Use ap_runtime_dir_relative() so that the global configuration for the
> location of such files, either by the DEFAULT_REL_RUNTIMEDIR compile
> setting or the DefaultRuntimeDir directive, will be respected. Apache
> httpd 2.4.2 and above.
>
> The attached patch makes Apache-Test set DefaultRunTimeDir to the
> log directory so that mod_auth_digest (and possibly others) will write
> there. The setting is guarded with IfVersion directives, so the change
> shouldn't break anything with older Apache versions.
>
> With this, the mod_perl httpd24 branch doesn't need an explicit
> DefaultRuntimeDir setting in t/conf/extra.conf.in anymore; remove that
> as well.
>

mod_perl part committed in http://svn.apache.org/r1496006.

Thanks,
Jan Kaluza


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl

ModPerl dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.