Re: Django+Postgre+Apache+Windows

2006-02-12 Thread Tim

Disclaimer--I just barely figured this out myself.

It could be the mod_python set up. Is this the case?

In the description of how to set up the conf file for apache to work
with mod_python, I think there's an error.

They say you should have this:

   AddHandler python-program .py
   PythonHandler mptest
   PythonDebug on


But I've figured out to put this:

AddHandler mod_python .py
PythonHandler mptest
PythonDebug On


Basically, changing "python-program" to "mod_python"

If you're having troubles other than the Conf file, perhaps someone
else can weigh in on this.



Re: Django+Postgre+Apache+Windows

2006-02-11 Thread Tom Tobin
Okay, smack me for reading the subject line one second after hitting Send.  :-p

On 2/12/06, Tom Tobin <[EMAIL PROTECTED]> wrote:
> On 2/11/06, David S. <[EMAIL PROTECTED]> wrote:
> >
> > Sorry for the lack of details, but any guidance is appreciated.
>
> That's where I'd start — more details.  ;-)  Can you tell us, e.g.,
> what platforms the two machines are running?
>


Django+Postgre+Apache+Windows

2006-02-11 Thread David S .

I have followed the docs to the letter regarding my mod_python setup but I am
having a frustrating experience with Apache falling over.  I can not seem to
find a foothold for solving this and I thought I would ask if anyone has advice
or has seen (and fixed!) anything like this. 

The behavior is that I refresh a couple of times in a row and it just hangs
until I stop and start the server again.  No error in the log or any other info
that I can find.  It happens on 2 different machines.  I have the default 2.0
httpd.conf with the Django stuff from the docs.  

Sorry for the lack of details, but any guidance is appreciated.

Peace