On Jan 23, 4:37 am, Andrea Tomasini <[email protected]> wrote:
> On 22 Jan, 2009, at 16:02 , Graham Dumpleton wrote:
>
> > And what happens if you don't have a trailing slash on:
>
> >  SetEnv trac.env_path /var/www/project/trac/
>
> > and leave out TRAC_ENV os.environ setting?
>
> Same... same error, without slash and removing all the os.environ from  
> the WSGI script. I have also noticed that in the Trac wiki page for  
> wsgi is not at all mentioned to set environment variables for WSGI  
> using the mod_env (SetEnv directive). Is this something new that  
> requires a specific version of mod_wsgi? I am running debian lenny  
> with mod_wsgi 2.3.*

Use of SetEnv is mentioned in:

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

Any page on the Trac wiki isn't going to mention all different
possible ways that mod_wsgi can be configured.

The mod_wsgi wiki also mentions use of SetEnv in:

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

Trying using first recipe in section at:

  
http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Tracking_Request_and_Response

to wrap Trac application and verify what environment is being passed
to Trac. If the correct environment is being passed, then something
must be going wrong in Trac.

What version of Trac are you using?

Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to