#7662 closed defect (worksforme)
In standalone mode trac will render rss link with IP Address
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | rendering | Version: | 0.11.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have tracd running in standalone mode + apache proxy, when you subsrcribe to rss trac will render links like
<link>http://10.10.100.14:8069/timeline</link>
Attachments (0)
Change History (6)
comment:1 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
base_url was set since the beginning.
Maybe this is importand - I have upgraded from 0.10 to 0.11.1 using FreeBSD-Ports
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
use_base_url_for_redirect was missing. sorry
comment:4 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:6 by , 16 years ago
Argh, use_base_url_for_redirect must be one of the worst-named variables I've seen here. I kept seeing it everywhere, but since my problem was not with redirects but with absolute links on the timeline page, I ignored it (Apache should already be fixing up my redirects I think).
But it turns out that the flag also makes Trac use the base_url setting everywhere else. Could this maybe be documented more clearly?
You need to set the
base_url
option in trac.ini. See TracIni#trac-section