Whether that SECURE mode is used or not, you are going to have to use:

    WSGISocketPrefix /tmp/wsgi

This is because /var/run/apache2 is not accessible to the user that Apache runs 
as.

Can you switch to that and then show me the error messages you get for the 
failed connection. The messages so far have all been for when was using 
/var/run/apache2.

Graham

> On 4 Jul 2018, at 7:28 pm, [email protected] wrote:
> 
> I can't find `mod_privileges` in the output of `httpd -M`. And `grep -ir 
> "PrivilegesMode" /etc/apache2/**/*` doesn't give me any hits either. I also 
> can't find it in the EasyApache profile on my webpanel. So unless the default 
> mode is SECURE, I don't think it's enabled. Or are there any other places I 
> should look?
> 
> The command you asked for returns the following:
> 
> [root@server1 ~]# ls -lasd /var/run/apache2
> 0 drwx--x--- 3 root nobody 100 Jul  4 11:04 /var/run/apache2
> 
> On Tuesday, July 3, 2018 at 11:48:30 PM UTC+2, Graham Dumpleton wrote:
> Have you gone back to the CPanel Apache config and confirmed whether:
> 
>    PrivilegesMode SECURE
> 
> is defined or not?
> 
> What do you get when you run:
> 
>     ls -lasd /var/run/apache2
> 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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.

Reply via email to