Greetings, Is there a way to have mod_wsgi halt apache startup if the WSGIImportScript throws an exception?
The background: We've been using mod_wsgi for several years, much to our satisfaction. It's currently servicing hundreds of millions of requests per day for us. Years ago, we modified the then-current version of mod_wsgi (I think it was v2.3) so that it aborted apache's startup (we're in embedded mode) if any initialization failed. We require this for robustness; if an application config or some init data is bad--which we've seen happen from time to time--then we don't want the server to start. We prefer that it fail loudly and obnoxiously so that there's no chance to miss the error. We're embarking on a new project, and we'd like to use an updated version of mod_wsgi--but we don't want to re-do our code modifications if we don't have to. Do newer versions of mod_wsgi support halting on init error? I've perused the docs and haven't found any such feature; hoping to have better luck asking here. Thanks for a great piece of software, and for any help you can provide. - ron -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To view this discussion on the web visit https://groups.google.com/d/msg/modwsgi/-/5pOc-UGtSnAJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
