Re: CGI Access logging of http requests

Nadir Amra <amra-r/[email protected]> Thu, 23 Jun 2022 14:47:15 +0000
Newsgroups gmane.comp.systems.as400.web
Message-ID <BYAPR15MB30001CA0F94026FCB25A0061E4B59@BYAPR15MB3000.namprd15.prod.outlook.com>
If you are invoking a CGI program, and the CGI program abnormally ends, then I think it is possible, although I am not positive.

---------------------------------------------------
Nadir Amra
e-mail: amra-r/[email protected]

From: WEB400 <[email protected]> on behalf of Dave <[email protected]>
Date: Thursday, June 23, 2022 at 2:34 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <[email protected]>
Subject: [EXTERNAL] [WEB400] CGI Access logging of http requests
Hi,

Can the server receive a request that fails to process with nothing written
to the access or error logs?
Thanks

Here is an extract of my http.config file :

LoadModule ibm_ssl_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVSSL.SRVPGM

Listen *:8802

Listen *:8902



MaxCGIJobs          25

StartCGI            5

#HotBackup Off



<VirtualHost *:8902>

   SSLEngine On

   SSLAppName QIBM_HTTP_SERVER_WSS

</VirtualHost>



TraceEnable Off



Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -Indexes
-MultiViews

LogFormat "%h %T %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined

LogFormat "%{Cookie}n \"%r\" %t"
cookie

LogFormat "%{User-agent}i"
agent

LogFormat "%{Referer}i -> %U" referer


LogFormat "%h %l %u %t \"%r\" %>s %b"
common

CustomLog logs/access_log
combined

LogMaint logs/access_log 7 0


LogMaint logs/error_log 7 0
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400 .
-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.