Use:

WSGIRestrictEmbedded On

I can't easily see original message right now to see if I had it wrong. Is only 
Restrict not Restricted.

Sent from my iPhone

> On 13 Mar 2016, at 08:03, Nana Okyere <[email protected]> wrote:
> 
> Graham,
> 
> Thanks. I'm sticking to the python I built from source for now and get back 
> to trying to use anaconda later. That said, after making the suggested 
> changes, I get: 
> 
> Syntax error on line 1115 of 
> /WebHA/apache/V2.2/http-home/featureanalytics-443S/httpd.conf:
> Invalid command 'WSGIRestrictedEmbedded', perhaps misspelled or defined by a 
> module not included in the server configuration
> Server could not be started
>  
> when I try to start apache. This error is coming from httpd.conf. When I 
> comment the WSGIRestrictedEmbedded line out, I'm able to start apache just 
> fine.
> Yes, I have the line :
> 
> LoadModule wsgi_module modules/mod_wsgi.so
> 
> up in the file.
> 
> Before and above all virtual hosts, I have:
> 
> WSGISocketPrefix /var/run/wsgi
> WSGIRestrictedEmbedded On
> 
> I only have this one virtual host:
> 
> ########################################################################
> <VirtualHost *:443>
> 
>     DocumentRoot "/WebHA/catworld/featureanalytics-443S/dataupload_app/"
>     ServerName fbbidataupload.cat.com
>     ServerAlias fbbidataupload.cat.com
>     
> 
>     WSGIDaemonProcess fbbidataupload.cat.com \
>         user=http group=http processes=2 threads=15 \
>         python-home=/WebHA/catworld/featureanalytics-443S/webpython \
>         python-path=/WebHA/catworld/featureanalytics-443S/dataupload_app
> 
>     WSGIProcessGroup fbbidataupload.cat.com
>     WSGIApplicationGroup %{GLOBAL}
>     WSGIPassAuthorization On
> 
>     WSGIScriptAlias / 
> /WebHA/catworld/featureanalytics-443S/dataupload_app/uploadapp.wsgi
> 
>     Alias /static 
> /WebHA/catworld/featureanalytics-443S/dataupload_app/app/static
>     <Directory 
> /WebHA/catworld/featureanalytics-443S/dataupload_app/app/static/>
>           Order allow,deny
>           Allow from all
>     </Directory>
> 
>     LogLevel info
> 
>     <Directory "/WebHA/catworld/featureanalytics-443S/dataupload_app">
>           Options FollowSymLinks Indexes MultiViews
>           AllowOverride All
>           Order allow,deny
>           Allow from all
>     </Directory>
> 
> 
> </VirtualHost>
> ########################################################################
> 
> Know why I'm getting the WSGIRestrictedEmbedded error?
> -- 
> 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.

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