[Trac] multiple projects -- fubar!!

Phil Mocek pmocek-list-trac at mocek.org
Thu Mar 3 18:12:48 EST 2005


On Thu, Mar 03, 2005 at 01:45:02PM -0700, Jani Averbach wrote:
> # You need something like this to authenticate users
> <LocationMatch "/tracd/[[:alnum:]]+/login">
>    AuthType Basic
>    AuthName "XXX SVN & Trac System"
>    AuthUserFile /etc/opt/svnd/svn_users.passwd
>    Require valid-user
> </LocationMatch>

Remember that using 

    [[:alnum:]]+

for the project name portion of the regular expression only works
for project names that are one or more alpha-numeric characters --
only -- no hyphens, underscores, etc.  See
<http://projects.edgewall.com/trac/wiki/TracMultipleProjects>.

-- 
Phil Mocek


More information about the Trac mailing list