On Mar 6, 2:48 am, Filipe Ornelas <[email protected]> wrote:
> Hi.
> For modwsgi I've followed the instructions that were given to me, in this
> case:
>
> 1.on tg2, you need to install apache, then install modwsgi module.
> I've got Apache 2.2 running, and on the
> site:http://code.google.com/p/modwsgi/wiki/InstallationOnWindows, I followed
> the
> instructions ando got the mod_wsgi.so module (that in my case is papche 2.2
> python version 2.5), and placed it on the right place: C:\Program
> Files\Apache Software Foundation\Apache2.2\modules (as the site says).
>
> 2. After that you can install modwsgideploy, (easy_install modwsgideploy)
> C:\>easy_install modwsgideploy
> Searching for modwsgideploy
> Readinghttp://pypi.python.org/simple/modwsgideploy/
> No local packages or download links found for modwsgideploy
> error: Could not find suitable distribution for
> Requirement.parse('modwsgideploy')
>
> 3. run the command: paster modwsgi_depoly
> 4. this will create all the configuration files for tg2/apache/modwsgi.
> 5. Adjust the path locations...
> 6. read the readme.txt --> done, it didn't help me that much
> 7. you are done. --> not really :(
>
> So, I cant install mod_wsgi, and also for that reason I cant install pylons
> because it needs modwsgi ...
Your problems don't appear to be related to mod_wsgi itself, but the
TG mechanisms for creating the WSGI script file for use with it.
Between steps 1 and 2, did you try and get a simple WSGI hello world
application working, rather than launching straight into getting
something more complicated? This will at least validate whether your
mod_wsgi setup is okay and will show that it is the TG stuff that is
the problem.
So, perhaps try examples in:
http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
Also see:
http://code.google.com/p/modwsgi/wiki/IntegrationWithPylons
This explains how Pylons applications are hosted. You could therefore
try the more manual approach rather than TG deployment scripts.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---