Pete,
When using CGI on i, the web server jobs running under QTMHHTTP spawn new jobs for the CGI programs to run in. These new jobs run under the user profile QTMHHTP1. I think you may need to add *RX permissions for that profile to get it rolling.
HTH,
Brian May
IBM i Modernization Specialist
Profound Logic Software, Inc.
http://www.profoundlogic.com
937-439-7925 Phone
877-224-7768 Toll Free
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Pete Helgren
Sent: Thursday, January 26, 2012 11:17 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] IFS File permissions (was:Premature end of script headers)
Yep. I would rather use the IFS but I think all I saw in the CGIDEBUG file was "cannot open file" and "permission denied" (I don't have the exact wording because I cleared the member). The folders and files all had QTMHHTTP with *RX permissions and the Apache log had nothing to add.
The folder I was trying to access had the following directory entry in the config file:
<Directory /www/myfolder/htdocs/myapps>
Options None
order allow,deny
allow from all
</Directory>
I have a webinar I am delivering in an hour but after that is over I am going to spend a little more time taking a look. I have served plenty of stuff from the IFS using PHP but I have never used that approach with CGIDEV2.
Pete Helgren
Value Added Software, Inc
www.petesworkshop.com
GIAC Secure Software Programmer-Java
On 1/26/2012 9:55 AM, Kevin Turner wrote:
Seems a shame to abandon the IFS for your templates etc. It is a much better place for such things that source members.
What were the permission issues? Should be a simple fix.
--
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.
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1901 / Virus Database: 2109/4767 - Release Date: 01/26/12
As an Amazon Associate we earn from qualifying purchases.