I have a new install of Trac 1.0rc1.  I seem to have everything running 
properly and it works great.

My challenge is understanding how to configure the system so it will get my 
header logo from /usr/share/trac/htdocs/site.  I understand that is where I 
should place static content I want all projects to access.

I'm not very familiar with Apache or Trac for that matter and I have tried 
several settings but I kept getting the "file not found" error.  I have my 
logo showing up now by placing it in 
/usr/share/trac/projects/<project>/htdocs.

Below are snippets from trac.ini and httpd.conf.  How would I change these 
settings to achieve my goal?

Thanks,
AustinPowered

--- from trac.ini

[header_logo]
alt = Trac Site Root
height = -1
link = http://phineas/trac
src = site/Black_Logo.png
width = -1

[inherit]
htdocs_dir = ../htdocs
plugins_dir = ../plugins
templates_dir = ../templates

--- from httpd.conf
# Set Aliases for Trac static content
Alias /trac/chrome/common /usr/share/trac/htdocs/common
Alias /trac/chrome/site /usr/share/trac/htdocs/site

<Directory "/usr/share/trac/htdocs">
    Order allow,deny
    Allow from all
</Directory>

#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

# WSGI support for Trac server
WSGIScriptAlias /trac /usr/share/trac/cgi-bin/trac.wsgi

<Directory /usr/share/trac/projects>
    WSGIApplicationGroup %{GLOBAL}
    Order deny,allow
    Allow from all
</Directory>

#
# Setup Digest Authentication
#
<LocationMatch "/trac/[^/]+/login">
    AuthType Digest
    AuthName "trac"
    AuthDigestDomain /trac
    AuthUserFile /usr/share/trac/trac.htpasswd
    Require valid-user                 
</LocationMatch>


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/GWCLxUPhp_oJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to