MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » January 2013

RE: http configuration confusion.



fixed

Well, I think you might be on to something mike.
I tried simply calling the command using http://www.google.com it gave me an immediate error
CPD0050 Expression operator not allowed for parameter URL

However, I went into the file and changed one of the records to http://www.google.com and then I typed http://rgt:1080/redir?33
It immediately sent me to google.

Well, I just tried another test and put quotes around the url when running it from the command and presto I went to google

Fantastic.

Now to see if I can put this to work for our designed purposes.

Everyone, thanks for the help.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Krebs
Sent: Thursday, January 10, 2013 2:45 PM
To: Midrange Systems Technical Discussion
Subject: Re: http configuration confusion.

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.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

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.





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact