[erlang-questions] [Erlyaws-list] Attempting to rewrite headers, obstacles faced

Steve Vinoski <>
Mon Apr 28 17:22:25 CEST 2008

On 4/28/08, Bhasker Kode <> wrote:
> Hello,
> i've been trying to research how to rewrite request headers (from yaws),
> when I remember that there folks on these lists, who have written
> substantial code that works with header. Cheers to that...
> I have tried the following 3 methods to try and rewrite the headers (more
> specificaly the #headers{referer}
> Attempt [1]
> hacked within yaws.erl, only to find that the Referer when edited, was only
> being used in yaws_log:accesslogs. (
> http://paste.lisp.org/display/59461 )
> Result: No change in arg structure , no change in document.referrer.

For this attempt did you try

{header,["Referer", "http://subdomain.localhost/page1.yaws"]}


More information about the erlang-questions mailing list