Hello,

I installed Trac 0.10 from the Trunc following the "Trac on Windows
Installation" Guide.

The path of the subversion projects is d:/scm/svn/data/<project name>
The path of python is d:/programme/python23/bin/
The path of trac projects is d:/scm/trac/data/<project name>

I created a trac project "Test" at d:/scm/trac/data/Test by trac-admin with
initenv.
The chosen parameters:
Project name: Test
Database connection string: sqlite:db/trac.db
Repository: svn
Path to repos: d:/scm/svn/data/TestProject
Templates directory: d:/programme/python23/share/trac/templates

Then I set the user permission: permission add jl TRAC_ADMIN


the relevant part of httpd.conf for Apache2:

# Subversion
RedirectMatch ^(/svn)$ $1/
<Location /svn/>
  DAV svn
  # any /svn/foo URL will map to a repository C:/svn/foo
  # I've only got it working using SVNPath!!
  SVNParentPath D:/SCM/SVN/data
  SVNListParentPath On
  AuthType SSPI
  AuthName "Subversion repository"
  AuthzSVNAccessFile D:/SCM/SVN/config/svnaccessfile
  Require valid-user
  SSPIAuth On
  SSPIAuthoritative on
  SSPIDomain <domaincontroller>
  SSPIOfferBasic on
  SSPIOmitDomain on
  SSPIUsernameCase lower
</Location>


# TRAC
Alias /trac "D:/Programme/Python23/share/trac/htdocs"

<Location /cgi-bin/trac.cgi>
  SetEnv PYTHONPATH "D:/Programme/Subversion/bin"
  # if you are running Apache as a user other than System, the TMP variable
  # needs to be set to a place where that user can write scratch files.
Make
  # sure that this directory is created and writable by that user.
  # SetEnv TMP "c:/svn/trac.db/tmp
</Location>

<Location /trac>
  SetHandler mod_python
  PythonHandler trac.web.modpython_frontend 
  PythonOption TracEnvParentDir D:/SCM/trac/data/
  PythonOption TracUriRoot "/trac"
</Location>

<LocationMatch "/trac/[^/]+/login">
  AuthType SSPI
  AuthName "Project"
  SSPIAuth On
  SSPIAuthoritative On
  SSPIDomain <domaincontroller>
  SSPIOfferBasic On 
  SSPIOmitDomain On
  SSPIUsernameCase lower
  Require valid-user
</LocationMatch>

<Directory "D:/Programme/Python23/share/trac/htdocs">
  Options Indexes MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>


Now I can:
- see the list of projects in the browser at address
http://<server-ip>/trac/
- click on them to show trac
- login
- click on Browse source in Trac and browse the source

During logged in as user jl I tried to create a new ticket and got the
internal error "Tickets must contain a summary".
But I always wrote some words in the summary edit box.

Has anyone an idea how to solve that problem?

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to