× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joel,

The problem is that the map directive is processed first. It changes anything it sees to /QSYS.LIB/FREDBP.LIB/anythingitsees.PGM. When that is processed by the following EXEC directive, it is not a match. I would remove the Map statement. The exec statement handles the mapping just fine.

Mel Rothman
Mel Rothman, Inc.


Joel Cochran wrote:
I am setting up a quick test in the DEFAULT HTTP configuration on one of
my boxes running V5R1.   (For reasons notwithstanding I have to use the
"Classic" server for now).

I have a very simple configuration:

Enable                     GET
Enable                     HEAD
Enable                     POST

Map  /permits/*  /QSYS.LIB/FREDBP.LIB/*.PGM
Exec  /permits/*  /QSYS.LIB/FREDBP.LIB/*.PGM
Pass  /xmlFiles/*  /masi/*

I can access files from the IFS in /masi, but I can't get a CGI program
to run.  I keep getting a 403 Forbidden error.  Unfortunately, it's been
so long since I've set up a classic server that I can't figure out the
problem.


The server configuration has these comments: 00530 # Mapping to AS/400 QSYS.LIB library objects requires 00540 # the QTMHHTTP user profile to have read access to the 00550 # object or the object to have PUBLIC(*USE) authority.

The authority of both the library and the object have PUBLIC(*CHANGE),
which is the same on my live web box that delivers the CGI with no
problem.  Is there any other security aspect I need to check?

Thanks,

Joel http://www.rpgnext.com


_______________________________________________ This is the Web Enabling the AS400 / 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.