HTTP-Proxy - Re: Changing the request hostname in GET and POST

Posted on Tue Aug 16 23:21:18 2005 by randomhajile in response to 899 (See the whole thread of 3)
Re: Changing the request hostname in GET and POST
Stupid, stupid, stupid (not you)...I got it. I had tried that, but I got an error message. Well, I went back and tried it again, and realized that I was doing $message->uri =~ s/replacethis/withthis/; rather than $message->uri($settothisvariable);. Duh. I used eg/logger.pl as a starting point. uri() is an accessor method, not an lvalue. Plus, IE sucks and it was caching the image once I got it working...even with a shift-refresh. Generally I use Firefox, but I didn't want to mess it up while I was working on something. I think that will do it. Thanks for the quick response and such.
Write a response