Re: AuthName with expression in Apache 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, thank you.
I think I'll stick with stable versions for now, trying to find some workaround.


2016-09-12 13:33 GMT+01:00 Luca Toscano <toscano.luca@xxxxxxxxx>:
Hi Emanuele,

2016-09-12 12:35 GMT+02:00 Emanuele Bastianelli <manu.reeko@xxxxxxxxx>:

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 www.mysite.com/pageone and pagetwo for www.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
 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux