Terry,
Is /citcgidevp/header an actual CGI program? If so, can you call it from a browser? If it's a static HTML file, don't use exec cgi, use include virtual.
Matt
-----Original Message-----
From: web400-bounces+matt.haas=cengage.com@xxxxxxxxxxxx [mailto:web400-bounces+matt.haas=cengage.com@xxxxxxxxxxxx] On Behalf Of Terry Anderson
Sent: Monday, November 12, 2007 4:12 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Exec cgi command not working
Greetings list,
I am having trouble getting the exec cgi command to work.
After running the page in the browser I get the following error in the log:
[Mon Nov 12 13:15:06 2007] [error] [client xx.xx.xx.xx] ZSRV_MSG0109: /qsys.lib/citcgidev.lib/www is not a cgi program: /qsys.lib/citcgidev.lib/www, referer:
http://xx.xx.xxx.xx:8014/citcgidevp/index.
When I look in the CGIDEBUG file at the HTML that is being sent I see;
2007-11-12-13.15.14.537000 WrtSection: HTML = <!--#exec cgi="/citcgidevp/header"-->.
After searching the archives and various other sites, I am leaning towards the conclusion that the problem is in the config file. I do have the Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch +Includes -MultiViews -Indexes line in my config file. However, since I am really, really, REALLY new at cgi, and I have very little knowledge of what the lines in the config file mean, I was wondering if anyone on the list had an idea of what is going on or where else I can look for information on how to read the config file.
Terry Anderson
Programming Manager
Citation Corporation
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975
--
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.
Please note: Thomson Learning has changed its name to Cengage Learning. Visit www.cengage.com for more information.
Cengage Learning - delivering results through engagement.
As an Amazon Associate we earn from qualifying purchases.