Hi, On Sat, Jan 07, 2006 at 12:04:08AM -0500, Matthew Gillen wrote: > Hi Axel, > Sorry, I wasn't clear about which part I was emphasizing: > I'm assuming you have this in your apache config: > Alias /trac/ /usr/share/trac/htdocs/ > > Here's the part I meant for you to look at: > # Link the static files into /trac-static/ > # You'll need to change the trac.ini to point to /trac-static/ instead > # of /trac/ > Alias /trac-static/ /usr/share/trac/htdocs/ > > Your Alias directive needs to change (to something that's not "/trac/"). > If you change that (and the trac.ini file as the comment suggests), > apache will cease to be confused. The problem is that you have an Alias > and a ScripAlias/Location directive both configured for the "/trac/" URL. > > Does that make more sense/fix your problem?
what I have is
Alias /trac-static "/usr/share/trac/htdocs/"
ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi
<Location "/trac">
...
And trac.ini has
htdocs_location = /trac-static/
So, it all looks OK, or not? And this is what the documentation
suggests to do.
Did you have the same kind of confusion, e.g. images being loaded on
every second reload?
> Axel Thimm wrote:
> >On Fri, Jan 06, 2006 at 09:27:46PM -0500, Matthew Gillen wrote:
> >
> >>I bet you made the same mistake I did:
> >>You have in the apache config both:
> >>Alias /usr/whatever/trac/ /trac/
> >>and
> >><Location /trac>
> >>...
> >
> >
> >Yes, but that's what
> >
> >http://projects.edgewall.com/trac/wiki/TracCgi
> >
> >suggests ... (?)
> >
> >
> >>Basically, you don't want to use "/trac" as your url base.
> >>Or, this FAQ item talks about how you can edit some defaults so that you
> >>can use "/trac/":
> >>http://projects.edgewall.com/trac/wiki/TracFaq#how-can-i-create-a-nice-url-to-access-trac-cgi
> >
> >
> >OK, I changed
> >
> >ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi
> >
> >to
> >
> >ScriptAliasMatch ^/trac/(.*) /usr/share/trac/cgi-bin/trac.cgi/$1
> >
> >and it has the same effect.
> >
> >
> >>Axel Thimm wrote:
> >>
> >>>Hi,
> >>>
> >>>lm-sensors switched to using trac (thanks for the awesome software!),
> >>>but we see some strange effects: Images don't get loaded unless one
> >>>reloads the browser. If one reloads again, the images disappear again.
> >>>
> >>>http://lm-sensors.org/trac/
> >>>
> >>>This is trac 0.9.2 running on FC4/x86_64.
> >>>
> >>>Thanks!
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>Trac mailing list
> >>>[email protected]
> >>>http://lists.edgewall.com/mailman/listinfo/trac
>
> _______________________________________________
> Trac mailing list
> [email protected]
> http://lists.edgewall.com/mailman/listinfo/trac
--
Axel.Thimm at ATrpms.net
pgprTV4sUwPa7.pgp
Description: PGP signature
_______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
