Modify ↓
#8525 closed defect (worksforme)
[Patch] Environment Variables not available
Reported by: | H3llGhost | Owned by: | John Hampton |
---|---|---|---|
Priority: | normal | Component: | ModWsgiAcctmgrScript |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
In the virtualhost.conf of my apache I define some environment variables, but I have no access.
RewriteCond ${lowercase:%{REQUEST_URI}} ^/([^/]+) RewriteRule . - [E=trac.env_path:/var/trac/envs/%1]
But in the wsgi I haven't any access on it with following code:
env = open_environment(environ['trac.env_path'], use_cache=True)
Attachments (1)
Change History (4)
comment:1 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 14 years ago by
Summary: | Environment Variables not avaible → [Patch] Environment Variables not available |
---|
comment:3 Changed 14 years ago by
I'm not familiar with this plugin, but it may be helpful to make a note on the project's wiki page about what you found, and point users to the patch in this ticket.
Changed 14 years ago by
Attachment: | acctmgr_auth.wsgi.diff added |
---|
Note: See
TracTickets for help on using
tickets.
I found a solution. It is attached as patch.