Interesting. I'm not ware of a shutdown program option but you could probably write a CL or a bash/python process to shut down the server and perhaps do something.

Richard Schoen
Email: richard@xxxxxxxxxxxxxxxxx

message: 2
date: Thu, 14 Jan 2021 08:06:50 -0600
from: Justin Taylor <jtaylor.0ab@xxxxxxxxx>
subject: [WEB400] Apache shutdown program?

Apache allows me to configure a program to automatically run at startup ( Directive:
CgiInitialUrl). Is there a corresponding option to run a program on shutdown?

I'd like to run a program when a specified Apache instance is stopped.



Subject: Digest Footer

This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) digest list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please take a moment to review the archives at


End of WEB400 Digest, Vol 19, Issue 7

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by 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.