Edgewall Software

Changes between Version 7 and Version 8 of TracOnRhel5


Ignore:
Timestamp:
Apr 2, 2009, 4:09:23 PM (10 years ago)
Author:
Ben Avison <bavison@…>
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnRhel5

    v7 v8  
    5050}}}
    5151
    52 Be sure to add the trac user to any groups necessary for access to your subversion repository.
     52Be sure to add the trac user to any groups necessary for access to your subversion repository. You may also need to add it to the group that owns the Apache password file so that it can authenticate users.
    5353
    5454=== Create a new project environment ===
     
    179179}}}
    180180
     181=== Alternative web server interface ===
     182
     183At the time of writing, the above scripts appear to have problems with escape sequences in URLs. For example, this will mean you can't put spaces in milestone names, and you won't be able to browse source files whose names contain spaces. There is however an alternative way of presenting an AJP interface to Apache which can be configured to avoid this problem, and yet retain the advantages of running Trac in its own user account.
     184
     185The way to do this is to run `tracd` with `--protocol=ajp` and the `--unquote` switch that was added in trac 0.11.4 (if you're running an earlier version, refer to [/attachment/ticket/8128/t8128-tracd-unquote-r7943.patch this patch]). For example:
     186
     187{{{
     188tracd --auth="*",/var/www/passwords/passwd,MyRealm --port=SERVER_PORT
     189  --hostname=localhost --protocol=ajp --unquote --env-parent-dir=$HOME/projects
     190  --base-path=/PROJECT_PATH --daemonize --pidfile=$HOME/trac.pid --umask=63
     191}}}
     192
     193but all one line. It's probably easiest to put this in a shell script somewhere. You'll need to add this to the `trac` user's crontab to be executed at each reboot.
     194
    181195=== Common web content ===
    182196