On Wednesday, October 2, 2013 7:32:24 PM UTC+2, Bill, KE1G wrote: > If any of your dependencies are not installed globally, such as in a > virtualenv, there is additional work to do. >
I do not need to use virtualenv since I have only this one app/site, or do I? > I suggest that you explore the fine documentation at > http://code.google.com/p/modwsgi/ and compose a wsgi script specifically > for running under Apache. > But how come it is so hard to replace "runserver" with real server?! :) > > > On Wed, Oct 2, 2013 at 12:55 PM, Chip Munk <[email protected]<javascript:> > > wrote: > >> Hello everyone! >> >> I was googling for the last 3 hours and cannot find the answer to my >> problem. >> >> I have a django project that works great on the development server >> (runserver). >> Now I want to deploy it on the local server. I am working on Windows 7. >> >> I downloaded and included mod_wsgi. I followed django book, but >> instructions are a bit weird >> since some pages use apache.wsgi file, and some wsgi.py file. I have a >> version of django that >> created wsgi.py file. >> >> httpd.conf looks like this: >> -------------------------------------------------- >> WSGIScriptAlias >> http://192.168.81.59/ktksurvey/ktkanketa"D:/Research/09-BuildingARecommender/xampp/htdocs/ktksurvey/ktkanketa/wsgi.py" >> WSGIPythonPath >> "D:/Research/09-BuildingARecommender/xampp/htdocs/ktksurvey/" >> <Directory >> "D:/Research/09-BuildingARecommender/xampp/htdocs/ktksurvey/ktkanketa/"> >> <Files wsgi.py> >> Order deny,allow >> Require all granted >> </Files> >> </Directory> >> ------------------------------------------- >> >> wsgi.py: >> -------------------------------------------- >> import os >> os.environ["DJANGO_SETTINGS_MODULE"] = "ktkanketa.settings" >> from django.core.wsgi import get_wsgi_application >> application = get_wsgi_application() >> -------------------------------------------- >> >> when i run apache and enter url: " >> http://192.168.81.59/ktksurvey/ktkanketa" I simply open that folder in >> the browser... and >> the app doesnt start. ?!?! >> >> I repeat, with runserver it works withot a problem. >> >> Please, I am desperate, help me! >> Let me know what other info you need! >> >> Thanks in advance! >> >> Best >> >> Chip >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/modwsgi. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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/groups/opt_out.
