You'll want to provide:

1. Your apache config (or at least the alias and directory
directives/containers)
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
www.bvstools.com
MAILTOOL Benefit #4 <https://www.bvstools.com/mailtool.html>: 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

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
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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