|
Home > Archive > Perlbal > February 2006 > header rewrites
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Joshua Thijssen 2006-02-19, 8:17 am |
| Hi,
How can i rewrite specified headers in perlbal? Is it possible to do
something like this:
#field #from #to
rewriteheader host domainX.com domainY.com
Is this directly possible in perlbal or does it require writing a plugin?
Regards,
Joshua
| |
| Joshua Thijssen 2006-02-19, 8:17 am |
| Sorry guys.. I've missed the HEADER INSERT lines in the documentation 
However, is it possible to insert or modify a header with a variable
form another header?
For instance, I'm connecting to perlbal on www.DomainX.com:80, Perlbal
modifes the host to DomainY.com and connects to the backend. Is it
possible to add the original host-header to the list (basically the
x-forwarded-by header).
I'm (fairly) sure this is not in the documentation. 
Regards,
Joshua
Joshua Thijssen wrote:
> How can i rewrite specified headers in perlbal? Is it possible to do
> something like this:
>
> #field #from #to
> rewriteheader host domainX.com domainY.com
|
|
|
|
|