If /srv/trac/foobar is the path to your Trac environment, there is no
way /src/trac can be a Subversion repository.

1. You create a Subversion repository with the following command:
  svnadmin create /path/to/svn/repos
"/path/to/svn/repos" is the path to your Subversion repository.

2. You create a Trac environment with the following command:
  trac-admin /path/to/trac/project initenv
trac-admin prompts you for the Subversion repository path. At this
point you need to provide the path of your Subversion repository
"/path/to/svn/repos" (remove the quotes)

Note that "/path/to/svn/repos" and "/path/to/trac/project" are not
related to each other. Although you could place both the Trac
environment and the Subversion repository under a common parent
directory, for example:

SVN: /var/lib/project/repos
Trac: /var/lib/project/trac

You cannot put Trac environment in a subdirectory of the Subversion
dir, in other words, the following setup would be invalid:
SVN: /var/lib/project/repos
Trac: /var/lib/project/repos/trac

3. You configure your Apache server.
If you use CGI method to run Trac (not recommended, as it would be
really slow), you need to define:
  SetEnv TRAC_ENV /path/to/trac/project
If you use mod_python method (much faster), you need to define:
  PythonOption TracEnv /path/to/trac/project

Note that both methods are mutually exclusive, so there is no case
where you would have both trac env lines in the same Apache
configuration file.
Following the same principle, statements such as:

<Location /cgi-bin/trac.cgi>
  SetHandler mod_python
 ...

is not valid, as it would lead to mix both methods

BTW, try to only post the *relevant* pieces of your config files, not
the whole file(s).

HTH,
Manu

--~--~---------~--~----~------------~-------~--~----~
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