|
For #1 I added the trailing slash for the original top level url and that fixed the problem. But auto generated url's deeper down appear without the slash and adding the slash there doesn't fix it; only a reload will. I appreciate your offer to look at my httpd.conf; I'll try to identify the relevant sections and send those.
#2: I issued this command in the template/trac directory:
perl -pi -e 's{(\w+)(\[% c\.path \| uri \| html)}{$1/$2}' *
and it looks like it inserted the slash in the right places. Here's an example from one of the files:
grep 'c.path | uri | html' view
<img src="[% c.script %]/[% c.repos %]/checkout/[% c.path | uri | html %]" />
<p>This file can not be displayed in the browser. You can <a href="[% c.script %]/[% c.repos %]/ch
+eckout/[% c.path | uri | html %]">download it</a>.</p>
Now when I browse the repository I see the extra slash--but the %2F is there too:
https://svn/svnweb/rexdb/browse/rexdb/browse/%2Ftrunk/src
also it introduced a new problem, now there are two slashes after "browse" in
a higher level url:
https://svn/svnweb/rexdb/browse//rexdb/
and much of the nice formatting is gone, I see vanilla html as I do without svnweb. Probably my perl edit command was overly aggressive.
|