Modify ↓
Opened 18 years ago
Closed 18 years ago
#6472 closed defect (worksforme)
trac.base_url does not work while running on tracd
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | web frontend/tracd | Version: | |
| Severity: | normal | Keywords: | base_url |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I'm running Trac 0.11dev on tracd with nginx frontend (proxy_pass).
Trac as of r6306 stopped honoring trac.base_url trac.ini setting, and uses options given to tracd -b 127.0.0.1 -p 8888 --protocol=http for URL generation.
This causes a problem, because for example after additing wiki page I'm getting redirected to http://127.0.0.1:8888/wiki/... instead of the frontend URL.
This causes Bitten to stop working too - Bitten uses redirection to give builds to slaves.
Attachments (0)
Change History (1)
comment:1 by , 18 years ago
| Keywords: | base_url added |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Yes, this has changed recently, see #5064. You need now to explicitly ask for
trac.base_urlto be used for the redirects, by setting:Documented in TracStandalone#Usingapacherewriterules.
I'll update the release notes as well (TracDev/ReleaseNotes/0.11).