Hi Emanuele, 2016-09-12 12:35 GMT+02:00 Emanuele Bastianelli <[email protected]>:
> According to the documentation > <https://httpd.apache.org/docs/trunk/mod/mod_authn_core.html#authname>, > 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 www.mysite.com/pageone and pagetwo for ww > w.mysite.com/pagetwo. 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 http://svn.apache.org/r1663123, 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. Luca
