[Trac] Re: [mod_python install] No stylesheets or images

David Abrahams dave at boost-consulting.com
Tue Apr 25 06:29:32 CDT 2006


Russell Hind <rh_gmane at mac.com> writes:

> David Abrahams wrote:
>> Which I did.  Now error_log shows no complaints about being unable
>> to
>> find the image files, but still I can't see them in the browser.  Yes
>> I've cleared my browser's cache.  What could be wrong, and/or how can
>> I debug this?
>> 
>
> Not sure, but perhaps something to do with this the 'ht_docs' location
> for your trac repository.  I had some trouble with this when I first
> set trac up.
>
> http://projects.edgewall.com/trac/wiki/TracIni

I suppose you mean the htdocs_location, yes?

According to the TracModPython docs, it shouldn't be necessary to mess
with that in order to get mod_python going.  Wow, interesting.  Now
that works, except for the trac_banner.  Tweaking trac.ini...  OK,
there's the banner.  Thanks for the pointer, Russel.

So, AFAICT, someone really needs to factor out the common instructions
that apply to all Trac Apache setups and list them separately.
Doesn't everyone have this problem?  It cost me hours.

I'd be happy to do that, but I don't want to tell people something
like "you *must* create an alias for the directory containing your
static resources" if it isn't true; other instructions I've found
also imply that with mod_python this shouldn't be necessary.  If
someone with more expertise than I would like to explain the real
facts, I'll edit TracModPython myself.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com



More information about the Trac mailing list