I finally figured out how to get trac and svn on their own subdomains since when I originally setup the web server awhile ago. The only thing that changes is the vhosts file. In that example it was “/etc/apache2/sites-available/svntrac”. Here’s what the file should look like now:


NameVirtualHost *:80


ServerAdmin you@domain.com
ServerName domain.com

DocumentRoot /var/www/

Options FollowSymLinks
AllowOverride None


Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On



  ServerName svn.domain.com
   
   DAV svn
   SVNParentPath /svn

   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /path/to/svnauth


   Require valid-user


#   AuthzSVNAccessFile /path/to/svnaccess
  




   ServerName trac.domain.com

   

    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnvParentDir /trac
    PythonOption TracUriRoot /

   

   

    AuthType Basic
    AuthName "Trac"
    AuthUserFile /path/to/svnauth
    Require valid-user