|
From reading the Apache documentation, it looks like the Location directives are processed after the Directory directives. With that being the case, I would have thought that my last Location directive<Location /read/GetCharitableGiving>
It likely the permission differences between library JDEANE and TEST15,
and not your config.
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----Original Message-----
From: WEB400 [mailto:web400-bounces-Zwy7GipZuJhWk0Htik3J/w@xxxxxxxxxxxxxxxx] On Behalf Of Deanreceiving a
Eshleman
Sent: Friday, December 8, 2017 1:37 PM
To: web400-Zwy7GipZuJhWk0Htik3J/w@xxxxxxxxxxxxxxxx
Subject: [WEB400] Apache configuration problem
I'm trying to call a web service configured in Apache and I keep
403 error. I have changed the Apache configuration multiple times andI can't
figure out what is causing the problem. Here is some of the configfile:
is
<Directory />
Order Deny,Allow
Deny From all
</Directory>
<Directory /www/apachews/htdocs>
Order Allow,Deny
Allow From all
</Directory>
<Directory /qsys.lib/test15.lib/>
Order Allow,Deny
Allow From all
</Directory>
ScriptAlias /restsrv1 /qsys.lib/jdeane.lib/restsrv1.pgm
ScriptAlias /restsrv2 /qsys.lib/jdeane.lib/restsrv2.pgm
ScriptAlias /read/GetHealthInsurance /qsys.lib/jdeane.lib/restsrv4.pgm
ScriptAlias /read/GetClientsForName /qsys.lib/jdeane.lib/restsrv3.pgm
ScriptAlias /read/GetData /qsys.lib/jdeane.lib/$getwebsvc.pgm
ScriptAlias /read/GetCharitableGiving /qsys.lib/test15.lib/gww044.pgm
<Location /restsrv2>
SetEnv QIBM_CGI_CHANGE_CURLIB N
ServerUserID JDEANE
SetEnv QIBM_CGI_LIBRARY_LIST "QGPL;JDEANE;MGPL;LIBHTTP;CGIDEV2"
</Location>
<Location /read>
ServerUserID WEBSVC
SetEnv QIBM_CGI_CHANGE_CURLIB N
SetEnv QIBM_CGI_LIBRARY_LIST
"QGPL;ISDEPT;MGPL;TAATOOL;OBJECT;YAJL"
</Location>
<Location /read/GetData>
Order Allow,Deny
Allow From 10.2.0.31 10.2.0.109 10.1.10.250
</Location>
<Location /read/GetCharitableGiving>
Order Deny,Allow
Allow From All
</Location>
I'm using SOAPUI to do my testing and the URL I'm using is
http://as400.mma-
online.org:8500/read/GetCharitableGiving?ownerclientid=1234567. What
strange is that I'm able to call the http://as400.mma-ideas
online.org:8500/read/GetData?firstname=Marilyn&lastname=Yoder just
fine. Why does GetData work and GetCharitableGiving doesn't? Any
why my config file isn't working? This is Apache 2.2 on IBM I 7.1.
As an Amazon Associate we earn from qualifying purchases.
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.