httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Set get parameter into http header.
Date Mon, 21 Feb 2011 14:31:50 GMT
On Mon, 21 Feb 2011 15:15:59 +0100
Michael PrieƟ <mailinglisteprm@googlemail.com> wrote:

> Thanks for your fast response. Setting the header works already fine. But
> the real problem is how can i get the parameter from
> http://localhost:/?token=1337base64token
> into the header.

mod_headers won't do programmatic things like Base64-decoding for you.
And it's a mismatch for the authn framework.  mod_rewrite could do
that for you, but that way madness lies (it would be harder work
than writing a new module).

mod_auth_form from Apache 2.3 and up gets authentication from
tokens like that.  It might meet your needs.

-- 
Nick Kew

Available for work, contract or permanent.
http://www.webthing.com/~nick/cv.html

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message