|
Here's the response I got from the developer who worked on the perl port... -----Original Message----- From: David J. Fiander Sent: Monday, May 31, 1999 8:56 AM To: David Gibbs Subject: Re: FW: Using PERL On The HTTP Web Server The MAP and EXEC directives are pretty clear in the sample configuration. The problem is that scripts cannot be executed directly by the web server. you have to create a small CL program that the web server calls that then calls the script. You need something like this: Exec /cgi-bin /QSYS.LIB/CGIBIN.LIB/* Then, create a program, "TEST": PGM CALL PERL5/PERL PARM('/qopensys/cgi-scripts/test.pl') ENDPGM and place it in CGIBIN. Finally, create a perl script called 'test.pl' and store it in /qopensys/cgi-scripts: print <<__HERE__ Content-type: text/html <HTML> <HEAD> <TITLE>Test!</TITLE </HEAD> <BODY> <H1>This is a test page</H!> <P>Hi there! </BODY> </HTML> __HERE__ Once this is all set up, then your CGI program should work just fine. - David -- David J. Fiander | [When packing for a trip] books are Mortice Kern Systems Inc. | always first Waterloo, Ontario, Canada | - Merlin, Disney's Sword in the Stone +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.