Hello Brad

I find this:

Job . . : WEBSERVE02 Benutzer : QTMHHTTP Nummer . . . : 151444

>> CALL PGM(QHTTPSVR/QZHBMAIN) PARM('-S' 'WEBSERVE02' '-uiMin' '10' '-uiMax'
'40' '-cEAMap' '*CCSID' '-cAEMap' '*CCSID' '-uiCCSID' '819' '-apache' '-d'
'/www/webserve02' '-f' 'conf/httpd.conf')

I think it's time to involve IBM support.

Best regards

Jan

Am 02.05.2016 um 15:56 schrieb Bradley Stone:
That's interesting... it looks like it should work fine.

Are you sure you're updating the correct configuration file? Just asking,
since I've seen that before as well. you can verify which config your
server is using by looking at the job log of the first job in the list of
jobs for that instance. It should look something like this:

CALL PGM(QHTTPSVR/QZHBMAIN) PARM('-S' 'MYSERVER' '-uiMin' '10' '-uiMax'
'40' '-cEAMap' '*CCSID' '-cAEMap' '*CCSID' '-uiCCSID' '819' '-apache' '-d'
'/www/conf' '-f' 'configfile.conf' '-AutoStartY')

So in this case, instance MYSERVER uses /www/conf/configfile.conf as the
configuration.
And you must restart your instance if you make changes.

Other than that, if you're on V7R1 I would make sure you're up on PTFs,
especially for the HTTP server. I seem to recall some issues with it.
Search the archives at midrange.com as well as the PTF cover letters for
your OS release for "ZSRV_MSG0362".

Hope this helps!

Brad
www.bvstools.com


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

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.



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