For the archives, should someone comes across this, the solution I
found was to use mod_auth_env, which worked to set REMOTE_USER from a
cookie value so AuthzDBDQuery could use that in the query. From my
previous contrived example, it would look like:
SetEnvIf Cookie "PHPSESSID=([^ ;]+)" phpse
I'm still interested in any ideas to try to set REMOTE_USER from a
cookie value.
AuthBasicFake sounds like it would work, but when I use it authz_dbd
still complains:
AH00027: No authentication done but request not allowed without
authentication for /whatever/file.txt. Authentication not
Hello,
I'm trying to use an authz_dbd query to authorize based on the value
of a cookie (ie. if PHPSESSID cookie is set, a db query can test if it
should be authorized). It seems the only parameter AUTHzDBDQuery will
supply to the sql query is the username in place of %s; this could work
if I c