Can't load site logo

7 views
Skip to first unread message

Christopher Nelson

unread,
Jan 28, 2020, 8:13:58 PM1/28/20
to trac-...@googlegroups.com
I'm trying to resurrect an old Trac configuration on a clean VM. I'm
using Trac 1.0.1 and Apache httpd 24. on Ubuntu 18.04. And I've been
trying for days to get the header logo to show up.

My trac.ini has:

[header_logo]
alt = OnTrac
height = 65
link = http://google.com/
src = site/logo.png
width = 250

My Apache site config starts:

<VirtualHost *:80>
ServerName trac2.cnelson.local
ServerAlias trac2

Alias /trac/chrome/common /opt/trac/trac1.0/static-htdocs/htdocs/common
Alias /trac/chrome/site /opt/trac/trac1.0/static-htdocs/htdocs/site

WSGIDaemonProcess tracdemo user=www-data group=www-data threads=10
WSGIScriptAlias /trac /opt/trac/trac1.0/static-htdocs/cgi-bin/trac.wsgi

And my entire start page -- including the Trac logo at the bottom show
up. I get a 404 for the site logo.

Comparing the Trac logo to my site logo I don't see any meaningful differences:

chrisn@trac2:/opt/trac/trac1.0/static-htdocs$ ls -l `find . -name logo.png`
-rwxr-xr-x 1 root root 14723 Jan 24 06:42 ./htdocs/site/logo.png
chrisn@trac2:/opt/trac/trac1.0/static-htdocs$ ls -l `find . -name
trac_logo_mini.png`
-rwxr-xr-x 1 root root 1687 Jan 23 14:10 ./htdocs/common/trac_logo_mini.png
chrisn@trac2:/opt/trac/trac1.0/static-htdocs$ ls -ld htdocs/site/
drwxrwxrwx 2 root root 4096 Jan 23 14:17 htdocs/site/
chrisn@trac2:/opt/trac/trac1.0/static-htdocs$ ls -ld htdocs/common/
drwxr-xr-x 5 root root 4096 Jan 24 17:25 htdocs/common/

I'm going crazy. What am I missing? TIA for help.

Chris
--
Christopher Nelson, PE
Professional Software Engineer
@ChrisNelsonPE
LinkedIn.com/in/ChrisNelsonPE
NoPerfectProgram.Wordpress.com

Jun Omae

unread,
Jan 29, 2020, 1:02:49 AM1/29/20
to trac-...@googlegroups.com
I think error.log of Apache and audit.log of SELinux help you.

--
Jun Omae <jun...@gmail.com> (大前 潤)
Reply all
Reply to author
Forward
0 new messages