You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Niko Tyni <nt...@debian.org> on 2013/06/23 22:10:20 UTC

[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@debian.org

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

Posted by Joe Orton <jo...@redhat.com>.
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@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


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

Posted by Jan Kaluža <jk...@redhat.com>.
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@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org