As I said in my email, you must run:

    mod_wsgi-express module-config

Copy the output from that and add it to the Apache configuration file.

You cannot use just:

    LoadModule wsgi_module /modules/mod_wsgi.so

Use what that command outputs. The command does not edit the Apache 
configuration file for you.

Also do not add:

    WSGIPythonPath "c:/Program Files/Anaconda"

yourself, which can't be placed inside of a VirtualHost anyway. What that 
command above outputs will include the correct setting based on what it works 
out.

The order is also important. Include it same as what the command outputs.

Graham

> On 27 Jun 2017, at 9:54 PM, Vigneshrajan <[email protected]> wrote:
> 
> I have added this in httpd.conf
> 1. LoadModule wsgi_module /modules/mod_wsgi.so
> 
> 2. <VirtualHost *:90>
>       ServerName localhost:80
>       WSGIScriptAlias /wsgi "c:/wsgi_app/wsgi_app.py" process-group=localhost
>       WSGIPythonPath "c:/Program Files/Anaconda"
>       <Directory "c:/wsgi_app">
>       <Files wsgi_app.py>
>               Require all granted
>       </Files>
>               Order deny,allow
>               Allow from all
>       </Directory>
> </VirtualHost>
> 
> still getting Cannot load modules/mod_wsgi.so into server: The specified 
> module could not be found.
> 
> -- 
> 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