On Mar 3, 8:55 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm trying unsuccessfully to run webpy (developer version) with
> modwsgi.
> I'm using Apache 2.2.4 and Python 2.5.1, and the instructions shown in
> the website didn't work.
>
> What I did so far is:
> 1) Copiedmod_wsgi.so to the modules folder of Apache.

Do you mean you copied by hand? What was wrong with the 'install'
target provided by the makefile?

> 2) Added the line "LoadModule wsgi_module modules/mod_wsgi.so" to
> httpd.conf.
> 3) Created an .htaccess file in my site's folder.
>
> The instruccions indicate that I shoud put this line in code.py:
> application = web.wsgifunc(web.webpyfunc(urls, globals()))
>
> But I am using the latest developer version, and if possible, I'd like
> to use the " web.auto_application()" feature.
>
> Is there any way to make it work?

Did you read the following document properly?

  http://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines

What configuration besides LoadModule did you put in the main Apache
configuration file.

The example in:

  http://code.google.com/p/modwsgi/wiki/IntegrationWithWebPy

for latest development version is different, although if it is now
called web.auto_application() they must have changed it mid stream.

There is also a lot of other documentation on the mod_wsgi site.

Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to