> On 11 Sep 2016, at 10:50 AM, Joshua Harwood <[email protected]> wrote: > > > This error generally relates to broken mod_rewrite rules and nothing to do > with mod_wsgi. > > How are mod_rewrite rules, or other Apache directives for redirection being > used elsewhere in the Apache configuration? > > Also, are extended multi language error pages enabled in Apache? There are > the ErrorDocument directives. > > Graham > > > Mod_rewrite is being used by cpanel for leech protection and > webmail/cpanel/whm redirects. > > Looking through the httpd.conf it looks as if ErrorDocument directives are > enabled. > > My issue wasn't the message in the virtual host logs but the lack of things > being sent to the virtual host log. > > > This is better written as: > > WSGIDaemonProcess fina.dev.harwoodspike.com > <http://fina.dev.harwoodspike.com/> user=devharwoodspike > group=devharwoodspike processes=3 threads=3 > python-path=/home/devharwoodspike/python-apps/fina/ > python-home=/home/devharwoodspike/python-apps/virtpython display-name=FINA-DEV > > The python-home option is what you should use to refer to a Python virtual > environment. > > You should also have: > > WSGIApplicationGroup %{GLOBAL} > > when delegating only the one application to the daemon process group to avoid > issues with some third party Python extension modules that aren’t implemented > correctly so as to work in Python sub interpreters. > > Graham > > > Thanks for the tip I have updated my configurations with your suggestions. > > Also since I recompiled with r->server = wsgi_server; I have not been able to > re-produce the issue. I even tried re-downloading and recompiling without any > changes and it is still working.
Can you clarify the outcome here? Are you saying that with the latest mod_wsgi 4.5.6 that it is working as you expect now without needing to patch the mod_wsgi code? My reason for not pursuing the logging issue initially was because I did want to verify whether it did occur with the very latest as I knew the logging code had been changed. Thanks. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
