httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Prieß <>
Subject Re: [users@httpd] Set get parameter into http header.
Date Mon, 21 Feb 2011 14:15:59 GMT
Thanks for your fast response. Setting the header works already fine. But
the real problem is how can i get the parameter from
into the header.

My usecase is i have a service which run behind my Apache httpd in the
background that only support basic authentication and i have generated a
base64 token which equal user:password and now i like
to set them into the header. Hardcodet it works already. But how can i get
the param from the uri into the header ?



2011/2/21 Björn Zettergren <>

> On 02/21/2011 02:42 PM, Michael Prieß wrote:
>> Hi Apache users,
>> i like to do some basic authentication with a simple token which is
>> user:password via http get.
>> How can i get the token which come in via "http get" into the header
>> with Apache ?
> Try mod_headers:
> Although, not knowing what it is you wish to achieve in the end, i would
> suspect that there is better, existing, methods for doing authentication
> using for example mod_auth_basic:
> /Björn
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:> for more info.
> To unsubscribe, e-mail:
>  "   from the digest:
> For additional commands, e-mail:

View raw message