How are you trying to use this? What command are you using to start with this 
configuration?

It looks a bit like you are trying to use the generated httpd configuration 
with the system Apache system directly somehow, rather than using 
'mod_wsgi-express start-server' or the generated 'apachectl' script as 
intended. So please explain what steps you have done after installing mod_wsgi 
using 'pip install'.

Graham

> On 20 Jul 2018, at 7:54 am, YKdvd <[email protected]> wrote:
> 
> I was trying to start using mod_wsgi_express (4.6.4), and my initial attempt 
> produced this error: 
> 
> AH00526: Syntax error on line 18 of 
> /tmp/mod_wsgi-localhost:8000:167003626/httpd.conf:
> Group takes one argument, Effective group id for this server
> 
> It looks like when setting up the Apache /tmp/httpd.conf config, it doesn't 
> provide a default value for the environment variable MOD_WSGI_GROUP, so if it 
> doesn't exist an empty string gets used and line 18 looks like:
> 
> Group ${MOD_WSGI_GROUP}
> 
> which probably evaluate to "Group ".  Apache apparently wants a value if you 
> specify "Group" at all, and startup halts at that point.  If I have a value 
> for MOD_WSGI_GROUP in my environment before launch, things work, but I 
> shouldn't have to have this set, should I - the express config should provide 
> a default value of the current user's group?  This is Apache 2.4.18 on Ubuntu 
> 16.04.
> 
> 
> 
> -- 
> 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