httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Toscano <>
Subject Re: [users@httpd] AuthName with expression in Apache 2.4
Date Mon, 12 Sep 2016 12:33:39 GMT
Hi Emanuele,

2016-09-12 12:35 GMT+02:00 Emanuele Bastianelli <>:

> According to the documentation
> <>,
> in apache 2.5 it should be possible to use expressions in the AuthName directive
> when performing authentication, e.g.
> AuthName "%{REQUEST_URI}"
> In this case, it should be possible to treat dynamic requests. In the
> example the variable REQUEST_URI can take different value according to the
> request, e.g. being pageone for and pagetwo for ww
> Unfortunately, apache 2.5 is still in development.
> Is there any workaround or upgrade to do in order to obtain the same
> behaviour in apache 2.4?

the trunk patch containing the feature that you need should be, so you could apply it to your httpd source
code and rebuild. Please use it with care since as far as I can see it has
not been reviewed/promoted to the 2.4.x branch yet.


View raw message