You'll want to provide:

1. Your apache config (or at least the alias and directory
2. The full path you're using for the request (from the browser/client)
3. The actual qualified path you're using on the request.

The forbidden error normally means your apache config says you don't have
the proper permission to that directory.

Also double check the directory has at least *RX authority and any files in
the directory have at lest *R for QTMHHTTP and QTMHHTP1 user profiles (or
the user profile you may be using in the Apache config if you did that).

Bradley V. Stone
MAILTOOL Benefit #4 <>: Easily add
attachments of any type from the IFS to outgoing emails.

On Tue, Sep 25, 2018 at 2:11 AM Booth Martin <booth@xxxxxxxxxxxx> wrote:

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 - 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 Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by 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.