Trac 1.4.2 - 403 forbidden error over customized logo

63 views Asked by At

After migrating from Trac 1.1.11 to 1.4.2, my customized company logo has been expelled:

Failed to load resource: the server responded with a status of 403 (Forbidden) logo-foo.jpg:1

NB: that particular file is located in [my-path]/trac-foo/main/htdocs/logo-foo.jpg

Here is the conf/trac.ici setting for the customization:

[header_logo]
src = http://trac.foo.fr/logo-foo.jpg
alt = FOO
height = -1
width = -1
link =

The Trac workspace is served via Apache httpd as a web proxy. So I added a section to /etc/httpd/conf.d/trac-foo.conf

<Directory [my-path]/trac-foo/main/htdocs>
    Order allow,deny
    Allow from all
</Directory>

But that didn't fix the issue. Thanks in advance for any help with this.

1

There are 1 answers

1
RjOllos On

Are you using Apache 2.4? If so, you need to change your authorization directives. See 2.4 upgrade documentation.

-    Order allow,deny
-    Allow from all
+    Require all granted