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



One of my colleagues is trying to install Twiki on System i (V5R4). Twiki is a wiki that uses Perl. Downloaded and installed Perl 5.8 using the FAQ http://faq.midrange.com/data/cache/379.html. Runs several scripts just fine. V5R4, cume 7107. HTTP group PTF 9. This is the config that works:

ScriptAlias /perl-bin/ /QOpenSys/perl/webwrap/
AddType application/x-httpd-perl .pl
Action application/x-httpd-perl /perl-bin/paseweb

I'll ignore out the Twiki-related for the moment and show the httpd.conf that does not work. I consistently get 'cannot read script output pipe.'

ScriptAlias /perl-bin/ /www/apachedft/htdocs/
<Directory /www/apachedft/htdocs>
Options +ExecCGI
order allow,deny
allow from all
</Directory>

http://my_systemi/perl-bin/hello.pl gives me the output pipe error. The error log shows

ZSRV_MSG0107: Premature end of script headers: File name is hello.pl
RESOLVE TO LIBRARY PERL5 FAILED, EXCEPTION ID MCH3401 FOR CGI /www/a...
SEE JOBLOG FOR JOB 170077/QTMHHTTP /APACHEDFT

I don't exactly understand the reasons for the intermediary. It causes Twiki to burp because Twiki's configuration script (perl) wants to write to the CGI directory, which it thinks is /QOpenSys/perl/webwrap/paseweb. (The intermediary Perl script.)

This isn't life or death, but the Windows guys might get another server out of it.
--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.