Alias /trac/ "/usr/share/trac/htdocs/" # fix mdk bug #16298 PassEnv LC_ALL PassEnv LANG # fix mdk bug #16298 <Directory "/usr/share/trac/htdocs"> Allow from All </Directory> # Trac need to know where the database is located #<Location "/cgi-bin/trac.cgi"> # SetEnv TRAC_ENV "/somewhere/myproject.env/" #</Location> # You need this to allow users to authenticate #<Location "/cgi-bin/trac.cgi/login"> # AuthType Basic # AuthName "trac" # AuthUserFile /somewhere/trac.htpasswd # Require valid-user #</location>