No, I didn't take out the <i> </I>
I'll try that first and see where that gets me.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mike Krebs
Sent: Wednesday, January 09, 2013 4:05 PM
To: Midrange Systems Technical Discussion
Subject: Re: http configuration confusion.
When you set up the script alias - you took out the <i> and </i> right? And you restarted the instance of the HTTP server?
If you run
http://rgt:8014/rgcgip/redir?12345 directly in the browser, does it appear to do anything?
stick a DSPLY in REDIR to see if it gets there. The message should appear in QSYSOPR.
Check the log files in the IFS whereever they are configured to be. Ours are in '/www/intranet1/logs'
The URL of the page not found page? Is it REDIR or is it the other?
Start a wireshark trace and see what you are sending and receiving directly
________________________________
From: "Smith, Mike" <Mike_Smith@xxxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion (midrange-l@xxxxxxxxxxxx)" <midrange-l@xxxxxxxxxxxx>
Sent: Wednesday, January 9, 2013 2:33 PM
Subject: FW: http configuration confusion.
Due to the length restrictions of the STRPCCMD, I am looking at alternatives to serving URL from my I. I ran across this article from Scott Klement from 2007
http://www.iprodeveloper.com/article/rpg-programming/use-cgi-redirects-to-launch-long-urls-18117
I'm trying to get this working to see if this will work for our needs. However, I really don't know anything about HTTP configuration. It might as well be greek.
That said many years ago I did create a couple of CGIDEV2 programs that work. So I placed the ScriptAlias stuff in the same http instance at the very bottom.
I created the programs associated with this in the same library as my CGIDEV2 programs.
When I run my CGIDEV2 programs from the browser, I call
http://rgt:8014/rgcgip/vendprof.pgm
SO in the openurl program I have this
QCMDEXC('STRPCCMD PCCMD(''rundll32 url,FileProtocolHandler '
+ '
http://rgt:8014/rgcgip/redir?' + %char(Key)
+ ''') PAUSE(*NO)' : 200);
When I run the OPENURL command I get page not found, but it doesn't appear to ever call the REDIR program.
I can provide the configuration file if needed. Maybe I need another http instance for this.
This is probably really simple, but I don't know what I'm doing wrong
Ideas?
Thanks
MIke
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.