|
|
| Author |
Message |
< Yaws mailing list ~ Attempting to rewrite headers, obstacles faced |
| Guest |
Posted: Mon Apr 28, 2008 6:57 am |
|
|
|
Guest
|
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 |
|
|
| Back to top |
|
| Guest |
Posted: Mon Apr 28, 2008 3:50 pm |
|
|
|
Guest
|
On 4/28/08, Bhasker Kode <kode@returnable.org> 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"]}
--steve
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Apr 29, 2008 9:07 am |
|
|
|
Guest
|
On Mon, Apr 28, 2008 at 8:52 PM, Steve Vinoski <vinoski@ieee.org (vinoski@ieee.org)> wrote:
Yes, i tried using both the allheader |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|