Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new to svn and trac. I successfully managed to set-up svn repo and even do my first commit :=) For project management I was advised to also install Trac.

I followed these instructions: http://www.subversionary.org/howto/setting-up-a-subversion-server-on-ubuntu-gutsy-gibbon-server

I had to chown svn repo folder to www-data otherwise I could not commit through http.

I did chown on trac folder too www-data.svn

So what is the problem? why login does not work?

I have this:

<Location /trac/[[:alnum]]+/login">
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/passwords
  Require valid-user
</Location>

<Location /trac>
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /var/www/trac
  PythonOption TracUriRoot /trac
</Location>

There is something I am missing, or not understanding on how Trac should work.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I figured it out myself.

changed this:

<Location /trac/[[:alnum]]+/login">
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/passwords
  Require valid-user
</Location>

to this:

<Location /trac/">
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/passwords
  Require valid-user
</Location>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.