Hello, I'm installing Trac 0.12.3 via easy_install and run it with Python 2.7 inner Apache/WSGI-configuration which starts Trac on the subdomain 'trac.mutetella.org'. This is my Apache 'httpd.conf':
The Trac documentation says, if Trac runs under an Apache server, it is recommended to make an alias to the static files (see the 2 'Alias'-definitions above in my 'httpd.conf'). But it makes no difference if I run Apache with or without this Alias-definitions. Trac takes the static files never from the '.static'-path but only from the '.egg-cache'-path in the '/home/claus/webapps/trac'-path. This is my 'trac.wsgi':
Why ignores Trac the Apache-Aliases? What is wrong? Thank you much for your help and sorry for my horrible english... ;-( Claus asked 04 Aug '12, 10:59 mutetella |
It seems so, but even if I remove the '.static/htdocs'-path the trac logo is display nevertheless from the Alias path. How can this be true? Even if I use the following 'httpd.conf' without any Aliases except the Script-Alias and restart Apache nothing changed:
Could it be a caching-problem? I'm so confused... Claus answered 04 Aug '12, 16:28 mutetella It is possibly a caching issue. Is the path to the logo file correct?
The logo code has a note in it,
Have you configured this file correctly? Does it indeed exist on disk? You may also consider using nginx to serve the media.
(04 Aug '12, 17:27)
johns
I have not yet set an own project-logo but this is not the problem... I can't understand, why the following urls by example exists at all: http://trac.mutetella.org/wiki/chrome/common/trac.ico http://trac.mutetella.org/wiki/chrome/common/trac_logo_mini.png http://trac.mutetella.org/wiki/chrome/common/dots.gif and so on... Currently I haven't set any Aliases to that '/wiki/chrom/common'-path. Neither in the Apache 'httpd.conf' nor in the 'trac.ini'. This urls should not be exist...??
(05 Aug '12, 03:46)
mutetella
All those files are being located in your You can check Trac's Interface Customization wiki entry, as well as the files in your templates directory in your trac instance, for a little bit more depth on that.
(05 Aug '12, 11:13)
iliasr ♦♦
|
Looks like your alias' are working correctly because the trac logo is being served from your Alias path: http://trac.mutetella.org/wiki/chrome/common/trac_logo_mini.png