Search squid archive

Re: Redirect program needing auth

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

 



fre 2009-09-04 klockan 15:23 -0500 skrev Bob T. Terminal:
> I am working on a project which requires the redirect program to know  
> the Authorization information for the http headers. I was wondering if  
> anyone could tell me if the ClientHttpRequest referenced in the  
> redirectStart function (in redirect.cc) has access to the http headers  
> and what call am i missing to get access to the Authorization token

Yes. http->request is the request.

 const char *auth_header = http->request->header.get_str(HDR_AUTHORIZATION)

but are you really sure what you are doing should be done as a url rewriter and not an acl?

Regards
Henrik


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux