> > Then I downloaded mod_wsgi binary from >> http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi - I took >> *mod_wsgi‑3.5.ap24.win‑amd64‑py2.6*.zip as my Apache is x64 and my >> Python is 2.6. >> > Did you unzip the .zip file? > Sure :) I put mod_wsgi.so file into the modules folder: C:\Prog\Apache24\modules\mod_wsgi.so
What was the name of the .so file that was in it? > mod_wsgi.so > What is the full path of the directory you put the .so file in? > I put mod_wsgi.so into C:\Prog\Apache24\modules\ And I load mod_wsgi in the same way as others: LoadModule ssl_module modules/mod_ssl.so LoadModule mod_wsgi modules/mod_wsgi.so четверг, 30 октября 2014 г., 14:08:53 UTC+3 пользователь Graham Dumpleton написал: > > > On 30/10/2014, at 10:01 PM, Shrike <[email protected] <javascript:>> > wrote: > > I have a Apache 2.2 installation with a site on Django. I load mod_wsgi.so > module in my Apache config. Now I'm trying to migrate onto Apache 2.4 and > have difficulties with mod_wsgi. > > First of all: my server is on Windows 2008R2 (x64). > > I setup Apache 2.4 x64 (httpd-2.4.10-win64-VC11.zip from Apache Lounge). > > Then I downloaded mod_wsgi binary from > http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi - I took > *mod_wsgi‑3.5.ap24.win‑amd64‑py2.6*.zip as my Apache is x64 and my Python > is 2.6. > > Did you unzip the .zip file? > > What was the name of the .so file that was in it? > > What is the full path of the directory you put the .so file in? > > In conf/httpd.conf I have > > LoadModule mod_wsgi modules/mod_wsgi.so > > > I'm getting error when run httpd.exe: > > httpd.exe: Syntax error on line 179 of C:/Prog/Apache24/conf/httpd.conf: > Cannot load modules/mod_wsgi.so into server : The specified module could > not be found. > > If I replace mod_wsgi.so with x86 version then I'll get other error about > incorrect bitness, so the module seems to try be loaded. I have all > vsredist (2008/9,20010/10,2012/11) installed. > > What's wrong? > > > > > четверг, 30 октября 2014 г., 14:08:53 UTC+3 пользователь Graham Dumpleton написал: > > > On 30/10/2014, at 10:01 PM, Shrike <[email protected] <javascript:>> > wrote: > > I have a Apache 2.2 installation with a site on Django. I load mod_wsgi.so > module in my Apache config. Now I'm trying to migrate onto Apache 2.4 and > have difficulties with mod_wsgi. > > First of all: my server is on Windows 2008R2 (x64). > > I setup Apache 2.4 x64 (httpd-2.4.10-win64-VC11.zip from Apache Lounge). > > Then I downloaded mod_wsgi binary from > http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi - I took > *mod_wsgi‑3.5.ap24.win‑amd64‑py2.6*.zip as my Apache is x64 and my Python > is 2.6. > > Did you unzip the .zip file? > > What was the name of the .so file that was in it? > > What is the full path of the directory you put the .so file in? > > In conf/httpd.conf I have > > LoadModule mod_wsgi modules/mod_wsgi.so > > > I'm getting error when run httpd.exe: > > httpd.exe: Syntax error on line 179 of C:/Prog/Apache24/conf/httpd.conf: > Cannot load modules/mod_wsgi.so into server : The specified module could > not be found. > > If I replace mod_wsgi.so with x86 version then I'll get other error about > incorrect bitness, so the module seems to try be loaded. I have all > vsredist (2008/9,20010/10,2012/11) installed. > > What's wrong? > > > > > -- 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 http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
