On Thu, Jul 23, 2009 at 1:06 PM, Leonardo Santagada<santag...@gmail.com> wrote:
>
>
> On Thu, Jul 23, 2009 at 2:45 PM, Olemis Lang <ole...@gmail.com> wrote:
>>
>> Hello !
>>
>> I'd like to try TracWsgi plugin but there's something I dont understand :
>>
>>  - Does it work with any HTTP server ?
>
> Yes. Theres mod_wsgi for apache and ngix and FastCGI for those http servers
> and others
>

So this means that I cannot use Trac on top of `mod_python` and then
run the WSGI app on top of Trac. Isn't it?

I forgot to mention something here . I want to run an app inside Trac
URL space, not Trac using PasteDeploy script ... ;)

Here I'd like to know something. How does it work ? The two
alternatives I have in mind are the following :

- The plugin acts as a wrapper and uses the Trac web context to
«rewrite» the WSGI environment used to run the «inner» app .

- The hosted app is run by the app server directly.

Which one is correct ? With my eyes closed I thought it was the first
one and in this case I supposed that only trac.ini had to be modified,
but I'm not sure.

Ahhhh !  I assume that I need PasteDeploy . Is it correct ?

>>
>>  - I mean, suppose I've installed and setup Trac already : The only
>> thing I need to do
>>    in order to run a WSGI app is to modify `trac.ini` by including
>> PasteDeploy config
>>    options ? Should I do anything else ?
>
> configure your http server for serving a wsgi app.
>

Well is it when Trac is deployed using PasteDeploy, or when the plugin
is used to run WSGI apps inside Trac, or both ? (yes I didnt say what
I wanted to do before :-/ )

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to