[Trac] Style sheets ignored when using mod_python, but work with tracd

Christopher Lenz cmlenz at gmx.de
Fri Oct 7 03:13:09 CDT 2005


Am 07.10.2005 um 09:17 schrieb Rasmus Back:

> 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.
>
>

Please check the local documentation (of your installed Trac) for  
info how to install version 0.8.4.
Or check an earlier version of the online TracModPython page:

  <http://projects.edgewall.com/trac/wiki/TracModPython?version=38>

Cheers,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/



More information about the Trac mailing list