(only the portions which I felt might be of use. incase you need anymore, let me know)
Here is my apache2.conf
===============================================================
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "/etc/apache2"
.
.
.
.
#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g.,
www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
# Include all the user configurations:
Include /etc/apache2/httpd.conf
# Include ports listing
Include /etc/apache2/ports.conf
# Include generic snippets of statements
Include /etc/apache2/conf.d/
Include /etc/apache2/conf.d/*.conf
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
# This following section is for Authentication to TRAC tool
<Location "/trac/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /etc/apache2/trac.htpasswd
Require valid-user
</Location>
# This following section is for Authentication to SVN
<Location /usr/lib/svn>
DAV svn
SVNPath /var/lib/svn/svnrepos/
AuthType Basic
AuthName "SVN Repository"
AuthUserFile /etc/apache2/passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
===============================================================
Here is my trac.conf
===============================================================
<VirtualHost *:80>
#ServerName
http://www.oms.domainname.com/
ServerName localhost
ServerAdmin admin@tracserver
ServerAlias oms.domainname.com
#SSLEngine On
#SSLCertificateFile /etc/apache2/ssl/apache.pem
DirectoryIndex index.html
DocumentRoot /usr/lib/python2.6/dist-packages/trac/templates
#<Directory />
# Options None
# AllowOverride None
# allow from all
#</Directory>
# Trac settings
<Directory "/var/lib/trac">
Options +FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
<Directory "/var/lib/trac/projects">
AllowOverride all
Options ExecCGI -MultiViews +FollowSymLinks
AddHandler cgi-script .cgi
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/trac_error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/trac_access.log combined
ServerSignature On
</VirtualHost>
===============================================================