On 15 June 2010 15:03, Shady <[email protected]> wrote:
> Installed it, though it's giving me this error in the error log: "File
> does not exist: C:/.../_dozer". Created that folder, got an a "C:/.../
> _dozer/index" doesn't exist error. Created that one, then nothing
> happens at all.
>
> Installed Dozer using cmd (python setup.py install) and added...
>
> "from dozer import Dozer
> wsgi_app = Dozer(application)"
>
> ...after the 'return' on the bottom of my script. No luck.
>
> Sigh... I'll probably put this part of the website on hold for a while
> I guess, especially since I should be studying for exams.

In your existing WSGI script file, add at the end:

from dozer import Dozer
application = Dozer(application)

This should be at global scope. Ie., no indenting.

You are wrapping existing application and result must still be called
'application' not 'wsgi_app'.

Then use URL in web browser of:

  http://yourhost/_dozer/index

The URL has got nothing to do with file system directories and you
shouldn't need to create any.

You also want to ensure you are using mod_wsgi daemon mode with single
process. Ie., have something like the following in Apache
configuration.

  WSGIDaemonProcess mysite
  WSGIProcessGroup mysite

This will create single process with 15 threads and WSGI application
will run in that.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to