I think the location needs to the full location otherwise it is trying to redirect to a page on the current server.
Add this for the location:
http://www.google.com
________________________________
From: "Smith, Mike" <Mike_Smith@xxxxxxxxxxxxxxxx>
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, January 10, 2013 12:56 PM
Subject: RE: http configuration confusion.
So if I get to here:
data = 'Status: 302' + CRLF
+ 'Location: ' + %xlate(' ':'+':%trimr(location)) + CRLF
+ CRLF;
QtmhWrStout(data: %len(data): 0);
And I can see that location is = 'www.google.com'
Does this mean that there is still something wrong in the http configuration?
My log shows this
ZSRV_MSG0018: File /www/redirect/htdocs/WWW.GOOGLE.COM does not exist
ZSRV_MSG0016: URI in request GET /WWW.GOOGLE.COM HTTP/1.1 is not valid
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.