[Trac] empty source browser in trac

Sam Grainger sam at marinvent.com
Mon Apr 4 12:54:10 EDT 2005


Greetings,

I recently installed trac 0.8.1 on MacOSX 10.2. I have a test setup running
for one project at the moment (nothing fancy). svn is installed and working
without any problems. Trac seems to be happy finding my project and svn
repository, which contains a few test files.

When I point my web browser at Trac's source browser (eg:
http://<sitename>/cgi-bin/projects/trac.cgi/browser/) , no members from the
svn repository are listed  - has anyone else seen this or know what the
problem might be? Trac doesn't seem to be reporting any errors. svn seems to
be happy as a clam and can see the project members (I can check them in and
out, view them, etc.).

At the moment, my configuration is pretty much 'out-of-the-box'. My setup is
as follows:

svn repos: /usr/local/data/svn/repos/testproj
trac projects: /usr/local/data/svn/trac/testproj

The httpd.conf setup is as follows:

Alias /trac/ /usr/share/trac/htdocs/
#or where you installed the trac htdocs
#You have to allow people to read the files in htdocs
<Directory "/usr/share/trac/htdocs">
   Options Indexes MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

# Trac need to know where the database is located
<Location "/cgi-bin/projects/trac.cgi">
   SetEnv TRAC_ENV "/usr/local/data/svn/trac/testproj"
</Location>

# You need this to allow users to authenticate
# trac.htpasswd can be created with
# cmd 'htpasswd -c trac.htpasswd' (UNIX)
# do 'man htpasswd' to see all the options
<Location "/cgi-bin/projects/trac.cgi/login">
   AuthType Basic
   AuthName "trac"
   AuthUserFile /usr/share/trac/trac.htpasswd
   Require valid-user
</Location>


regards,

Sam



More information about the Trac mailing list