|
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Booth Martin
Sent: Tuesday, September 25, 2018 2:49 PM
To: RPG programming on the IBM i / System i
Subject: RPGLE, web services, json and Forbidden, Forbidden - by rule., ,You
do not have permission to access /states on this server.
(Asked on web400@xxxxxxxxxxxx with no response. Asking here because I
am trying to round-trip demo data) via RPGLE and json using a web service,
not the IFS, and I believe the error has to do with the iSeries authority &
security, not with Apache.)
Using Scott Klement's slide show presentation as a guide, I have added a web
services DIY entry to an existing and functioning Apache server on the
iSeries. This includes adding a ScriptAlias for "/states" and a <Directory>
entry with "Allow from all" to the config file.
The message I am getting is "
Forbidden
Forbidden - by rule.
You do not have permission to access /states on this server."
which I believe is telling me it's there, it all may work, but I am not logged on
to the machine so don't have permission. So... how do I either allow anyone,
or ask for sign-on/password?
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
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.