[Trac] Custom logo doesn't display

Mitch Chapman mitchchapman at earthlink.net
Wed Nov 30 17:52:50 CST 2005


On Nov 30, 2005, at 1:58 PM, Feasey, Nicholas wrote:

> I am trying to put a customized logo on my Trac project page but it  
> doesn't seem to work.
> I have followed the instructions as indicated in the Wiki  
> (TracInterfaceCustomization).
> The logo just doesn't display, if I click on the properties it is  
> trying to find the logo in the following directory:
>
> http://foo.com/trac/dts/chrome/site/UTPlogo.jpg

Just to make sure:  does your image file reside in /usr/trac/foo/ 
htdocs?  Is it owned by, or at least readable by, the same uid as the  
rest of the files in /usr/trac/foo?

Sorry if these are dumb questions.  I just tried installing a custom  
Trac logo and it worked once I sorted out the above.

Viewing source also shows "chrome/site" for me.

> I had followed the instructions in order to install Trac (running  
> as cgi and, yes, the site is working fine) so I'm not sure why I  
> get the extra "chrome" and the word "site" displayed above.  I'm  
> obviously missing something here so if anyone can lend a hand or  
> point me to another piece of documentation I would greatly  
> appreciate it.
>
> My httpd.conf and trac.ini files follow:
>
> httpd.conf configuration snippet:
>
> # The next few items relate to Trac
> Alias /trac/chrome/common /usr/share/trac/htdocs
> <Directory "/usr/share/trac/htdocs">
>   Order allow,deny
>   Allow from all
> </Directory>
>
> ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi
>
> # Trac needs to know where the database is located
> <Location "/trac">
>     SetEnv TRAC_ENV_PARENT_DIR "/usr/local/trac"
> </Location>
>
> # This directory within /trac requires authentication
> <Location "/trac/foo">
>     AuthType Digest
>     AuthName foo
>     AuthDigestFile /etc/httpd/conf/.htfoopasswd
>     Require valid-user
> </Location>
>
>         ...
>
> trac.ini configuration snippet:
>
> [wiki]
> ignore_missing_pages = false
>
> [header_logo]
> #src = common/trac_banner.png
> src = site/UTPlogo.jpg
> alt = Trac
> height = 73
> link =
> width = 236
>
> [logging]
> log_file = trac.log
> log_level = DEBUG
> log_type = none
>
> [trac]
> htdocs_location =
> default_charset = iso-8859-15
> ignore_auth_case = false
> permission_store = DefaultPermissionStore
> check_auth_ip = true
> database = sqlite:db/trac.db
> templates_dir = /usr/share/trac/templates
>
>>
> As stated, I thought I had done everything required to get the  
> custom logo to appear but no luck.
> Any assistance would be greatly appreciated.
>
> Thanks in advance.
>
> Nicholas
>
>
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac

--
Mitch



More information about the Trac mailing list