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



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.

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.