It's been a while since I've looked at these configs, but I think you may 
be missing a *.pgm from your EXEC statement

change it to the following and give it a try...:

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

Best regards,
Eric Lee
DCS Transport & Logistics Solutions
1st Floor, Mayesbrook House
Redvers Close
Lawnswood Business Park
Leeds LS16 6QY
UK




Joel Cochran <jrc@xxxxxxxxxx> 
Sent by: web400-bounces@xxxxxxxxxxxx
21/04/2004 12:47
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
web400@xxxxxxxxxxxx
cc

Subject
[WEB400] Classic HTTP Server problem...






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.




*********************************************************************
'This e-mail message is intended solely for the person to whom it is 
addressed and may contain confidential or privileged information.  
If you have received it in error, please notify postmaster@xxxxxxxxxxxx 
and destroy this e-mail and any attachments.  In addition, you must not 
disclose, copy, distribute or take any action in reliance on this e-mail or any 
attachments.  Any views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company.

When addressed to our customers any quotations contained in this 
e-mail are subject to contract and are on the terms of The Company's 
standard Conditions, a copy of which is available on request.  Any 
errors or omissions in any quotations or other information issued by 
The Company shall be subject to correction without any liability on 
the part of The Company

Due to the nature of Internet communications DCS cannot guarantee 
that this communication or any attachments do not contain software 
viruses.  We have taken every precaution to minimise this probability 
but cannot accept any liability for damage which you may sustain as a 
result of software viruses.  We recommend you carry out your own virus 
checks before opening attachments.'

*********************************************************************

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-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.