Re: Apache don't use .htdocs-directory...

31 views
Skip to first unread message

mutetella

unread,
Aug 4, 2012, 5:52:01 PM8/4/12
to trac-...@googlegroups.com
Could it be, that Trac 0.12.x ignores all Apache-Aliases and using the '.egg-cache'-path for static files?
No matter which Apache-configuration I used, with or without Aliases to a 'htdocs'-path:
Static files like the trac-logo are always served from 'http://trac.mutetella.org/wiki/chrome/common/trac_logo_mini.png' even if the this files only exist in the '.egg-cache'-path.

Is my presumption correct?

mutetella


Am Dienstag, 31. Juli 2012 17:49:00 UTC+2 schrieb mutetella:
Hallo,

it does not matter, which of the following apache-configuration (httpd.conf) I use:

...
Alias /trac/chrome/common /home/claus/webapps/trac/.htdocs/common
Alias /trac/chrome/site /home/claus/webapps/trac/.htdocs/site

<Directory /home/claus/webapps/trac/.htdocs>
  Order allow,deny
  Allow from all
</Directory>
...

The 'htdocs_location' in the 'trac.ini' is not set.
With or without the above lines trac works as expected. Even if I delete the '.../.htdocs'-directory it seems to be all right.
Actually I'm happy that trac works but the behaviour of the apache server makes me uncertain. Why is it so?

Thanks for your time and help!

mutetella

Reply all
Reply to author
Forward
0 new messages