Re: Set get parameter into http header.

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

 



On Mon, 21 Feb 2011 15:15:59 +0100
Michael Prieà <mailinglisteprm@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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