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
forwww.mysite.
andcom/pageone pagetwo
forww
. 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?w.mysite.com/pagetwo