Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-14 Thread Graham Dumpleton
On Aug 14, 3:39 pm, John Yeukhon Wong wrote: > Hi, Graham > > I looked at the error log and I fully understood the problem. > > I spent an hour trying different ways to understand the whole thing. > Here is the result. > > f:/public/testproject/apache/django.wsgi > > //code begins here > import

Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-14 Thread CLIFFORD ILKAY
On 08/14/2010 01:39 AM, John Yeukhon Wong wrote: I do plan to deploy the project on a UNIX server in the future, and I still do want to follow up with the previous discussion: I sure hope that you're not going through all this just for development. The Django dev server is quite sufficient for

Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-13 Thread Sam Lai
I haven't watched Graham's video, but here's what I typically do. On 14 August 2010 15:39, John Yeukhon Wong wrote: > I do plan to deploy the project on a UNIX server in the future, and I > still do want to follow up with the previous discussion: > > So in general, > > 1. When I write a django pr

Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-13 Thread Sam Lai
On 14 August 2010 15:39, John Yeukhon Wong wrote: > I noticed that if I have two of them co-exist simultaneously > WSGIScriptAlias / "f:/public/testproject/apache/django.wsgi" > WSGIScriptAlias /testproject "f:/public/testproject/apache/hello.wsgi" > > I will get nothing but the same default blue

Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-13 Thread John Yeukhon Wong
Hi, Graham I looked at the error log and I fully understood the problem. I spent an hour trying different ways to understand the whole thing. Here is the result. f:/public/testproject/apache/django.wsgi //code begins here import os, sys sys.path.append("f:/public") os.environ['DJANGO_SETTINGS_

Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-13 Thread Graham Dumpleton
On Aug 14, 12:52 pm, John Yeukhon Wong wrote: > Hi, Graham. > > I watched the video and your pdf up until the point you ran the wsgi > successfully. > > I restarted the apache and bottom of the apache monitor said "Apache/ > 2.2.16(Win32) mod_wsgi/3.3Python/2.7", and also I could see localhost >

Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-13 Thread John Yeukhon Wong
According to this post http://www.rkblog.rk.edu.pl/w/p/mod_wsgi/ I used the similar approach, and had localhost/hello.py and worked. But what about the WSCI way that you showed us in the video? Thank you. -- You received this message because you are subscribed to the Google Groups "Django use

Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-13 Thread John Yeukhon Wong
Hi, Graham. I watched the video and your pdf up until the point you ran the wsgi successfully. I restarted the apache and bottom of the apache monitor said "Apache/ 2.2.16(Win32) mod_wsgi/3.3Python/2.7", and also I could see localhost again. I can see the blue page. I am sorry if I sound too stu

Re: mod_wsgi+Apache+Postregsql on Windows

2010-08-13 Thread Graham Dumpleton
On Aug 14, 11:26 am, John Yeukhon Wong wrote: > Hi, I know most of you work on Linux, but I do need this to be done on > Windows for a very personal reason. > > I mainly followed this tutorial here, except that I use mod_wsgi over > mod_python.http://wiki.thinkhole.org/howto:django_on_windows >