× 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.



Hello Brad

Thank you for your answer.

Yes, I'm trying to user RESTful requests. I want to have my program getatr to use getenv to get the environment variable REQUEST_URI. From this I will extract the 90 and use it as input to my service. If I check the error-log I see the message

ZSRV_MSG0362: Client von Serverkonfiguration abgewiesen:
/qsys.lib/jgvwsrv.lib/getatr.pgm

This german text means something like: Client was denied by the serverconfiguration.

Best regards

Jan

Am 02.05.2016 um 15:10 schrieb Bradley Stone:
That shouldn't make a difference (the case) unless possibly in QOpenSys.

It looks to me like you're trying to use RESTful type requests.

When you make a request to /art/90 are you wanting 90 to be part of the
data passing to the CGI program (that you will have to strip out of the URI
manually of course in RPG).

Explain what this request should do and that will help go a long way in
solving your problem.

Things look ok.. Check your error logs for more information. There should
be something there.

Brad
www.bvstools.com

On Mon, May 2, 2016 at 3:14 AM, Jan Grove Vejlstrup <jgv@xxxxxxxx> wrote:

Hello Nathan

Thank you for your answer. I changed the program reference to capitals.
Unfortunately this didn't solve the issue.

Best regards

Jan


Am 29.04.2016 um 15:49 schrieb Nathan Andelin:

Just a guess, but you might try capitalizing your program reference:

ScriptAlias /art /QSYS.LIB/JGVWSRV.LIB/GETATR.PGM

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.