Mailing List Archive

[The Trac Project] #3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac
#3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac
------------------------------------------+---------------------------------
Reporter: marcin at brzezinski dot net | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone: 0.10
Component: general | Version: 0.10rc1
Severity: critical | Keywords:
------------------------------------------+---------------------------------
I tried to set up this variable:
SetEnv TRAC_ENV_PARENT_DIR "/path/to/project/parent/dir"

But Trac demands from me the TRAC_ENV to be set, or otherwise refuses to
run.

When I set the TRAC_ENV to a project directory - it doesn't seem to see
any other projects?

I'd be grateful for either fixing this (if it's a bug) or updating the
documentation to let people like me know how to approach this problem. I
use CGI version on Apache2, Python2.3.

Great work, by the way!

--
Ticket URL: <http://trac.edgewall.org/ticket/3774>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac [ In reply to ]
#3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac
------------------------------------------+---------------------------------
Reporter: marcin at brzezinski dot net | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone: 0.10
Component: general | Version: 0.10rc1
Severity: critical | Resolution:
Keywords: needinfo |
------------------------------------------+---------------------------------
Changes (by mgood):

* keywords: => needinfo

Comment:

Can you provide the section of your Apache config with the Trac settings?
You may have made a typo or other config mistake that is preventing this
from working.

--
Ticket URL: <http://trac.edgewall.org/ticket/3774#comment:1>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac [ In reply to ]
#3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac
------------------------------------------+---------------------------------
Reporter: marcin at brzezinski dot net | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone: 0.10
Component: general | Version: 0.10rc1
Severity: critical | Resolution:
Keywords: needinfo |
------------------------------------------+---------------------------------
Comment (by anonymous):

Here it goes: (When I add # in front of the TRAC_ENV line it refuses to
load up :-(

devbox:/etc/apache2/conf.d# cat trac.d
Alias /trac-htdocs /usr/share/trac/htdocs

<Directory "usr/share/trac/htdocs">
Order allow,deny
Allow from all
</Directory>
<Location "/trac">
AuthType Basic
AuthName "Trac"
AuthUserFile /usr/share/trac/trac.htpasswd
Require valid-user

SetEnv TRAC_ENV_PARENT_DIR "/usr/share/trac/projects"
SetEnv TRAC_ENV "/usr/share/trac/projects/qportal"
</Location>
ScriptAlias /trac/trac.cgi /usr/share/trac/cgi-bin/trac.cgi

--
Ticket URL: <http://trac.edgewall.org/ticket/3774#comment:2>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac [ In reply to ]
#3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac
------------------------------------------+---------------------------------
Reporter: marcin at brzezinski dot net | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone: 0.10
Component: general | Version: 0.10rc1
Severity: critical | Resolution:
Keywords: needinfo |
------------------------------------------+---------------------------------
Changes (by Russell Hind <rhind@mac.com>):

* cc: rhind@mac.com (added)

--
Ticket URL: <http://trac.edgewall.org/ticket/3774#comment:3>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac [ In reply to ]
#3774: TRAC_ENV_PARENT_DIR doesn't seem to be enough to launch Trac
------------------------------------------+---------------------------------
Reporter: marcin at brzezinski dot net | Owner: jonas
Type: defect | Status: closed
Priority: normal | Milestone:
Component: general | Version: 0.10rc1
Severity: critical | Resolution: worksforme
Keywords: needinfo |
------------------------------------------+---------------------------------
Changes (by anonymous):

* status: new => closed
* resolution: => worksforme

Comment:

it seems to work after all :-/

I don't know what the reason was

--
Ticket URL: <http://trac.edgewall.com/ticket/3774#comment:4>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---