[Trac] Style sheets ignored when using mod_python,
but work with tracd
Rasmus Back
rasmus.back at gmail.com
Fri Oct 7 02:17:22 CDT 2005
Hi
My setup is FC4 on AMD64. I installed the trac and clearsilver rpms
for FC3 from atrpms.net, since no x64 versions seem to be available
for FC4. My problem is that when I configure trac to work with
mod_python the project pages load without formatting or pictures. In
firefox I can see that it complains about the mime-type of the css
files and ignores them. But with the standalone tracd server
everything looks ok. My apache config for trac looks like this:
<Location /trac>
SetHandler mod_python
# use for trac >= 0.9
#PythonHandler trac.web.modpython_frontend
# use for latest stable release 0.8.4
PythonHandler trac.ModPythonHandler
PythonOption TracEnvParentDir /home/vcsadmin/trac
PythonOption TracUriRoot /trac
AuthType Basic
AuthName "Trac projects"
AuthUserFile /home/vcsadmin/conf/users.conf
Require valid-user
</Location>
All of the files under /home/vcsadmin are owned by the "apache" user.
Thanks,
Rasmus
More information about the Trac
mailing list