[users@httpd] Set get parameter into http header.

2011-02-21 Thread Michael Prieß
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 ? Regards, Michael

Re: [users@httpd] Set get parameter into http header.

2011-02-21 Thread 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: http://httpd.apache.org/docs/curren

Re: [users@httpd] Set get parameter into http header.

2011-02-21 Thread Michael Prieß
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. My usecase is i have a service which run behind my Apache httpd in the background that only support basic authent

Re: [users@httpd] Set get parameter into http header.

2011-02-21 Thread Nick Kew
On Mon, 21 Feb 2011 15:15:59 +0100 Michael Prieß 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 B

Re: [users@httpd] Set get parameter into http header.

2011-02-21 Thread Michael Prieß
Hi, i doesn't need features like Base64-decoding. I have a RewriteMap which contain all the Basic64 authentifications tokens which are equal with the token that come over the uri. Need only a simple solution to pass them from the uri query into the http header. Regards, Michael