× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.